[NTLUG:Discuss] disabling rc scripts

Tom Woody woody at nfri.com
Wed Mar 20 09:45:51 CST 2002


Any easy way that I always do is in the Init level your run at (rc3.d for text mode, or rc5.d for X) rename the various startup script symbolic links from Sxx* to sxx*.

for example to disable portmapper in Init 3 (text mode) in /etc/rc.d/rc3.d I rename S13portmap to s13portmap.

The init script still remains but won't run anymore.  A good practice is to disable them in both rc3.d, and rc5.d (in case you ever change init levels).

On Wed, 20 Mar 2002 13:51:07 +0530
"Vaidya, Harshal (Cognizant)" <HarshalV at pun.COGNIZANT.COM> wrote:

> Hi all,
>   how do you disable startup services like portmapper from /etc/rc.d/init.d.
> 
> Thanks and Regards,
> Harshal Vaidya
> Programmer Analyst
> Cognizant Technology Solutions
> Phone :-
> Home - 6686874
> Office -2934444 Ext - 2268
> 
> 
> 




More information about the Discuss mailing list