Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-06-2004, 09:15 AM   #1
Registered: Apr 2004
Posts: 131

Rep: Reputation: 15
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...
Old 08-06-2004, 10:08 AM   #2
Registered: Jul 2004
Location: Pakistan
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
Old 08-06-2004, 10:16 AM   #3
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36

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:
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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hey Hey it's the monkee! - Introduction / What do y'all think of RealBasic? MonkeeOfEvil General 6 08-19-2009 05:48 AM
by-passing script in rc.local mufy Fedora 4 10-29-2006 02:49 AM
Starting a Script from rc.local dazz Linux - Newbie 9 07-03-2005 06:03 AM
rc.local script on OBSD ryancoolest *BSD 4 03-07-2004 08:44 PM
rc.local script for mldonkey on RH polzbert Linux - Software 1 10-14-2003 05:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration