PDA

View Full Version : How do I Execute Scripts on System Startup?



cwaldbieser
January 30th, 2005, 01:19 AM
In other distros, there is usually a file like /etc/rc.local where you can but the scripts you want to run on system startup. Anybody know what the mechanism for doing this in Ubuntu is?

Thanks,
Carl Waldbieser

az
January 30th, 2005, 03:30 AM
/etc/init.d

/etc/rc2.d



the rc(runlevel).d directory contain symlinks to the actual scripts in /etc/init.d

If you want something more secure, there is a gnome startup thing. (Computer, Desktop pref, Session)

mendicant
January 30th, 2005, 07:00 AM
Also look into update-rc.d to manage the files in /etc/init.d