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 06-13-2007, 05:23 PM   #1
LQ Newbie
Registered: May 2007
Location: Malaysia
Distribution: OpenSuSE
Posts: 1

Rep: Reputation: 0
What is the difference between /etc/init.d/boot.local and /etc/rc.d/boot.local..?

Hai..I am a newbie and running Suse 10.0. I notice that the file 'boot.local' is located in two directory:

1. /etc/init.d
2. /etc/rc.d

May I know, what is the difference between these two directory?
Old 06-13-2007, 05:30 PM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Hi and welcome to LQ.

I think one of the files is a link to the other. What is the output of doing "ls -l" on each file?
Old 06-13-2007, 05:41 PM   #3
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
I believe that /etc/init.d holds all the scripts that are created by a startup type program ... while /etc/rc.d are links to those applications that will be initiated at startup.

So ... you probably have more scripts in init.d than rc.d ... since you probably are not starting up all possible apps.
Old 06-13-2007, 06:50 PM   #4
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 131Reputation: 131
/etc/init.d holds all the start-up scripts while /etc/rc.d has shortlinks to those but it also specifies their priority and whether they should be started or not. This allows for enabling/disabling scripts/services without having to mess with the actual scripts that are in /etc/init.d.


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 / openSUSE 2 03-10-2007 08:18 AM
cant boot suse bc of changed /etc/init.d/boot.local esyed Linux - General 5 09-24-2006 05:04 AM
Problem with boot.local scialom Linux - Software 0 09-20-2004 05:07 AM
boot hangs after running /etc/init.d/boot.local eddieb Linux - Newbie 2 07-18-2004 06:57 AM
Cant boot. My boot.local is misconfigured Boom Linux - Newbie 6 03-06-2003 08:30 PM > Forums > Linux Forums > Linux - Newbie

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration