You are here

Creating a startup script

#!/bin/bash
### BEGIN INIT INFO
# Provides:          mystartup
# Required-Start:    $all
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Enable Wine 16bit support
# Description:       Fix recommended by Linus to enable Wine 16bit support
### END INIT INFO
echo 1 > /proc/sys/abi/ldt16
  • Then activate with:
chmod +x /etc/init.d/mystartup.sh
update-rc.d mystartup.sh defaults 99
Topic: