Subject: Re: /etc/rc.d stuff
To: Laine Stump <lainestump@rcn.com>
From: Simon J. Gerraty <sjg@quick.com.au>
List: tech-userlevel
Date: 03/16/2000 02:33:12
>get into *that* discussion! ;-) should override it in some way. That
>implies that some sort of configurable $RC_PATH (and support for its use
Sounds like a good idea.
>the scripts directly, but from some sort of wrapper instead? (eg "rcrun
>sendmail stop"))
Another good idea.
>Along similar lines - some people say that they don't like having to
>edit rc.conf to prevent a particular subsystem from running at startup,
Since I was the one that started the rc.conf must die stream, I'll just
state again - for anyone still reading, that rc.conf is a good idea
for providing default options etc. What I object to is the YES/NO business.
>and want to just remove the rc.d file to make it not run. Others say
>that removing the file is a pain, because then it's more difficult to
>turn it back on, and they would rather have rc.conf. Doesn't it work to
>just do a chmod -x of the file? (This might require an extra tweak to
>rcorder to work really well; I'm not sure as I haven't looked at
And this in conjunction with the rcrun idea is, I think a very good solution.
Thanks! I generally install my start/stop script executable so I
can run them manually, but rcrun foo reload is no big deal, and toggling
the execute bit to signify enable/dissable solves the religious debate
about link farms as well as the need for YES/NO in rc.conf.
I like it. Thanks.
--sjg