[NTLUG:Discuss] disabling rc scripts
Chris Cox
cjcox at acm.org
Wed Mar 20 09:43:59 CST 2002
Vaidya, Harshal (Cognizant) wrote:
>Hi all,
> how do you disable startup services like portmapper from /etc/rc.d/init.d.
>
My favorite way is by renaming the rc#.d/SXXportmap ... usually I just
rename them
to have a lowercase 's'. That way, if I ever need them again, I can
just rename them
back (you probably want to do likewise with the 'K' scripts... renaming
them with
lowercase 'k'). Of course in SuSE, you adjust a variable in rc.config
instead.
To find them, I usually to to /etc and do something like:
# find . -name "*portmap" -print
The /etc/init.d directory will usually give you enough hint as to the
suffix used
on the SXX and KXX scripts for the runlevels.
More information about the Discuss
mailing list