LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   rc.local in Debian? (https://www.linuxquestions.org/questions/linux-general-1/rc-local-in-debian-33939/)

whaase 10-27-2002 05:22 PM

rc.local in Debian?
 
Is there a rc.local in Debian 3? If not is their something simular?

Walter

aliensub 10-27-2002 06:13 PM

If you mean for startupscripts it's /etc/rcS.d

whaase 10-27-2002 06:51 PM

yes, but that dirctory is empty. Am I supposed to creat a rc.local in that dir?

Walter

aliensub 10-27-2002 08:11 PM

Weird itīs empty, mine has 22 scripts in default install, but no, you donīt have to create a directory, you just place your startupscripts directly in /etc/rcS.d

Donald1000 10-28-2002 03:58 PM

Go to /etc/init.d/ and create a file...for example "local"
Edit it:

#!/sh/bin
.......Scripts or deamons to load at startup.........

Make the file executable:
chmod +x local

Create a symbolic Link in rc1.d or rcS.d

ln -s /etc/init.d/local /etc/rcS.d/S98local


Reboot! Enjoy! :)

Greetings

whaase 10-28-2002 06:30 PM

Thank you! Exactly the type of explenation i was looking for.

Walter


All times are GMT -5. The time now is 01:57 AM.