LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-06-2004, 09:15 AM   #1
pablowablo
Member
 
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
cppkid
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
check
/etc/rc.local
 
Old 08-06-2004, 10:16 AM   #3
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
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'
 
  


Reply


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


All times are GMT -5. The time now is 08:17 AM.

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