init.d difference?
Hi,
I'm running a Centos 4 distro and it has /etc/init.d/ and /etc/rc.d/init.d/ is there a difference? I've been starting/stopping services using the first one - is that ok?? Just wondering, as I'm fairly new to linux and still don't know much. |
One of them is probably a symlink.. rc.d was the original or SystemV/Unix based startup scripts which is still added as a link in most distributions for dependencies that look for rc.d instead of init.d, etc.. blah blah blah, you can probably do a quick search here or google and find better detailed answers as this has been asked before and my brain is kind of fried right now.. ;)
|
from one fried brain to another, thanks, that was actually helpful.
|
Actually, you should be changing the LINKS that appear in the rcX.d directories---you should not change things in init.d unless you need to ADD a script.
The links in rcX.d have a numbering system to indicate what gets killed/started--and in what order. |
All times are GMT -5. The time now is 12:56 AM. |