LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-06-2007, 12:23 PM   #1
tim914
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ USA
Distribution: Most of them :-)
Posts: 30

Rep: Reputation: 15
Question What local init script does your distro use?


What is the name and path for the local system init script on your distribution?

With the Red Hat variants, it's /etc/rc.d/rc.local
With Gentoo, it's /etc/conf.d/local.startup

We're trying to determine where we should be placing some startup logic and it seems that no matter where we go, there's alway some distro that uses a NEW place for local daemon startup.

So, I my request to you, the myriad distro users, is - what is the name of your distro's local startup script?

Last edited by tim914; 06-06-2007 at 12:24 PM.
 
Old 06-06-2007, 01:13 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Debian puts all the scripts in /etc/init.d/. Of course, symlinks for the runlevels are placed in /etc/rcX.d where X is 0-6, and S.
 
Old 06-06-2007, 01:28 PM   #3
tim914
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ USA
Distribution: Most of them :-)
Posts: 30

Original Poster
Rep: Reputation: 15
Not looking for the runlevel scripts, just the distro's version of rc.local

Thanks, but I know how the SysV init scripts are assembled (even though THOSE also differ from distro to distro). I'm looking to document the various distro's versions of the rc.local script.
 
Old 06-06-2007, 01:41 PM   #4
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
rc.local on Debian consists of a bunch of commented out words saying how Debian doesn't use rc.local and a single line that says exit 0.

http://www.debian.org/doc/FAQ/ch-customizing.en.html
Look at 10.5 and 10.6.
 
Old 06-06-2007, 01:48 PM   #5
tim914
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ USA
Distribution: Most of them :-)
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pljvaldez
rc.local on Debian consists of a bunch of commented out words saying how Debian doesn't use rc.local and a single line that says exit 0.
... which is a perfect example of why I'm asking. Debian doesn't use rc.local, but it does use something else. It's that "something else" that I'm trying to document.
 
Old 06-06-2007, 01:52 PM   #6
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by tim914
... which is a perfect example of why I'm asking. Debian doesn't use rc.local, but it does use something else. It's that "something else" that I'm trying to document.
Try looking at the link I posted. I'm not an expert in the boot scripts, so hopefully it answers your question...
 
Old 06-07-2007, 11:56 AM   #7
tim914
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ USA
Distribution: Most of them :-)
Posts: 30

Original Poster
Rep: Reputation: 15
No one else with input?
 
Old 06-07-2007, 12:35 PM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
slackware uses /etc/rc.d/rc.local
 
  


Reply

Tags
init, local, rclocal, scripts, startup


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
Help with file: etc/init.d/boot.local ostrowlaw Suse/Novell 2 03-10-2007 08:18 AM
clamd upgradation in remote mach through local mac by script to be run on local mach Narayandutt Programming 3 11-29-2006 10:00 AM
shell script to compare filese b/w local and remote and delete files from local serve dsids Linux - Networking 9 08-23-2006 07:20 AM
init level 5 for remote X but not local gw1500se Mandriva 0 05-31-2004 02:54 PM
could use some help with my init.d script.... BrianK Linux - General 3 10-31-2002 07:21 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration