I'd like to run a script at the startup of my system but only at that time. I did some experimenting and found that /etc/profile.d is NOT the place to put this sort of script as it runs anytime someone logs in. I simply want the script to run at startup. It should be run as root.
asked 08 Dec '10, 20:24
There's three ways I can think of doing this offhand:
The first method is probably the most straightforward and will work on the largest number of distributions.
answered 09 Dec '10, 12:13