LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hey where is the rc.local script in Debian? (https://www.linuxquestions.org/questions/linux-newbie-8/hey-where-is-the-rc-local-script-in-debian-214220/)

pablowablo 08-06-2004 08:15 AM

Hey where is the rc.local script in Debian?
 
I'm using Libranet which is based on Debian and I read somewhere that Debian does not have a rc.local script. My question is, is there an equivalent script for Debian? I'm asking this because I want to know what is commands are started during boot in my settings...

cppkid 08-06-2004 09:08 AM

check
/etc/rc.local

Oliv' 08-06-2004 09:16 AM

Hi,

Debian begins with /etc/rcS.d/ scripts and then run /etc/rc5.d/ scripts (if you boot into runlevel 5 of course). If you want to add your own script, edit it in /etc/init.d (don't forget to set exec rights) and then do a symlink like that:
Code:

ln -s my_script /etc/rc5.d/S90my_script
Note that when your system reboots, it uses /etc/rc6.D/ scripts and if it halts that's /etc/rc0.d/ one's

Oliv'


All times are GMT -5. The time now is 06:23 AM.