This command is for anything that you would like to execute after the system has been started and all of the scripts in /etc/init.d/ have been run. If you want to execute these commands before any of these scripts, but the commands in the new file:
/etc/init.d/before.local
If you want them to execute afterwards, put it in
/etc/init.d/after.local
This is rather useful for network mounts, changes to hardware configuration, or custom programs that need to be started at boot. Make sure to make the file executable through the command: chmod +x /etc/init.d/after.local
The other option is to edit the /etc/rc.d/rc.local and do that same there.
This is a repository of all of my Linux/Unix writings as well as useful tips and tricks for systems administration, engineering, and programming.
Thursday, April 17, 2008
Thursday, April 3, 2008
Subscribe to:
Posts (Atom)