Ubuntu is debian based so afaik it uses the same startup scripts as debian. That means that /etc/init.d/ contains all scripts that should be executed at boot/shutdown.
But after putting your script there you need to symlink it to /etc/rcX.d/ where X is the runlevel (or S for startup).
The name of the symlink should be something like SXXblah, where S is for start (or K for shutdown/reboot (lies in runlevel 0 and 6)) and where XX is the number used to determine when it should be run.
For more info do a search for "debian startup scripts".
Regards.
Last edited by Ephracis; 07-02-2006 at 07:05 AM.
|