Page 1 of 1

Startup Script

Posted: Thu Jan 09, 2014 8:55 am
by lilzz
there's a folder of /etc/init/ and there are a bunch of .conf files. If I want to include a startup script, do I put inside that/etc/init folder? Do I also name something.conf?

Re: Startup Script

Posted: Thu Jan 09, 2014 9:23 am
by RaTTuS

Re: Startup Script

Posted: Thu Jan 09, 2014 6:03 pm
by DougieLawson
The directory (not folders unless you're running a GUI) is /etc/init.d

Supplied in there is a skeleton file to show you how to build startup scripts.

Scripts are defined with update-rc.d.

Read man update-rc.d to learn settings etc.