lilzz
Posts: 411
Joined: Sat Nov 30, 2013 5:27 pm

Startup Script

Thu Jan 09, 2014 8:55 am

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?

User avatar
RaTTuS
Posts: 10559
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Startup Script

Thu Jan 09, 2014 9:23 am

How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Startup Script

Thu Jan 09, 2014 6:03 pm

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.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “General discussion”