LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08: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, 09: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, 09: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



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 04:48 AM
by-passing script in rc.local mufy Fedora 4 10-29-2006 01:49 AM
Starting a Script from rc.local dazz Linux - Newbie 9 07-03-2005 05:03 AM
rc.local script on OBSD ryancoolest *BSD 4 03-07-2004 07:44 PM
rc.local script for mldonkey on RH polzbert Linux - Software 1 10-14-2003 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:40 PM.

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
Open Source Consulting | Domain Registration