/etc/init.d/mystartup.sh
(see wiki.debian.org/LSBInitScripts )#!/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
chmod +x /etc/init.d/mystartup.sh update-rc.d mystartup.sh defaults 99