View Single Post
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#2
You can add create a new file in /etc/init.d/, lets say you call it "foo". Run this command to add the file to runlevels 2, 3, 4 and 5. Any commands you put in the file will run everytime the system starts.

Code:
update-rc.d foo start 99 2 3 4 5 .
 

The Following User Says Thank You to auouymous For This Useful Post: