LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is the difference between /etc/init.d/boot.local and /etc/rc.d/boot.local..? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-difference-between-etc-init-d-boot-local-and-etc-rc-d-boot-local-561595/)

mozart 06-13-2007 05:23 PM

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?

reddazz 06-13-2007 05:30 PM

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?

dxqcanada 06-13-2007 05:41 PM

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.

jay73 06-13-2007 06:50 PM

/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.


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