Mark Wendt (Contractor) wrote:

>I should have mentioned that I always stop those services before I 
>rename those files.  Renaming without changing the S or K to lower 
>case will still cause init to run those scripts when it enters that 
>run level.  S stands for start, and K stands for Kill to the init process.
>  
>
Exactly my point :)

If you simply rename the scripts to something that init ignores, then 
the state of those ignored services won't be changed when you enter that 
runlevel.  That isn't robust against changes to services run at startup, 
and it isn't robust against changing to another runlevel (like 3, where 
you want those services on) and then changing back.

That's why you'd want to rename from S##useless_service to 
K##useless_service - that guarantees that whenever you enter that 
runlevel, the unnecessary services will be stopped, even if they had 
been started for some other reason.

- Steve


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to