HD Install :: Startup Scripts
Ok, so i installed DSL to the hdd, and installed jakarta tomcat. But I can't seem to find a Startupscript, like rc.local, to have it start whenever i reboot... any tips or suggestions? 
thanks!
ok i solved it by putting it in /etc/init.d/knoppix-autoconfig, but i dont know if this is the right way to do it :P
You can add your commands to any startup script but to keep things organized, and to prevent problems with certain commands running too early, the standard place is /opt/bootlocal.sh
I assume it's in /opt rather than /etc/init.d so that it will be easy to manage in a backup/restore system.
oh, ok, thanks for the tip! 
Alternatively if installed via apt-get on a hdinstall it may have already put a init script in /etc/init.d/. If this is the case then it would be best to use update-rc.d to add it to your startup. Use man update-rc.d to findout the syntax.
Next Page...
original here.