epike on Tue, 11 Mar 2003 13:50:39 -0500 |
> This will disable the services, however, it's not the best way to do it. > As other suggested, use chkconfig. Otherwise, you are in for a lot of work > locating all the rc dirs, among other problems, typos, etc. never had a problem with typing mv, though admittedly i should be using chkconfig. I suspect chkconfig just moves the S to K though. Dont have a problem with locating the runlevel either. > > >From the RedHat manual: > > "The init command first stops all the K symlinks in the directory by > issuing the /etc/rc.d/init.d command stop then it starts the S symlinks by > issuing /etc/rc.d/init.d command start." I stand corrected. what appears to happen is that for example, a shutdown is really a change in runlevel to 0....and most all services in /etc/rc.d/rc0.d are prefixed with K. All of them but shutdown scripts like Sxxkillall. So thats how that works. so, for example apache starts at /etc/rc.d/rc3.d/Sxxhttpd at normal runlevel and stopped with /etc/rc.d/rc0.d/Kxxhttpd. epike _________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
|
|