Diffrence /etc/init.d and /etc/init.d/rc?.d scripts
can anybody tell me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.
thanks in advance veerendra |
Hello,
I assume you mean difference between the scripts in /etc/init.d/ and /etc/rcX.d (and not /etc/init.d/rcX.d) where X is the runlevel. The scripts are located in /etc/init.d/ and not in /etc/rcX.d. In /etc/rcX.d there are only links to the scripts in /etc/init.d/. If you run: Code:
ls -al /etc/rc2.d/ Hope that helps. Kind regards, Eric |
Diffrence between /etc/init.d and /etc/rc.d/init.d
Hi,
Thanks for the reply Sorry for the mistake.I wanted to ask the difference between /etc/init.d and /etc/rc.d/init.d. Regards, Veerendra |
Hello,
What distribution are you using? I imagine a RedHat based since that directory /etc/rc.d/ doesn't exist on my Debian servers. On RedHat it does exist. I think that the scripts in that specific directory are the same in both locations although I don't see any use for it. At least, I didn't find any differences between both locations. Must be some specific RedHat thing. I'm not very familiar with RedHat and the derivatives of it but I'm sure someone can point out why it's set up like that. Kind regards, Eric |
All times are GMT -5. The time now is 04:29 AM. |