On Wed, Oct 30, 2002 at 02:23:48PM -0800, Tim Kientzle wrote:
> Gordon Tetlow wrote:
> 
> >On Wed, Oct 30, 2002 at 11:50:45AM -0800, Tim Kientzle wrote:
> >
> >>I find the standard arguments used by RCng quite
> >>awkward.  In particular, ... "/etc/rc.d/nfsd stop" does
> >>not actually stop the nfsd process. ...
> >
> >... I've found this behavior to be quite annoying. I'll
> >see if I can put something together. If you want to help me out and
> >put together the patches, I'd be more than happy to commit them.
> 
> 
> I have something partly sketched out, but
> it still needs some work.  I can
> send you something in the next
> couple of days to look at.
> 
> I see two awkward issues:
> 
> * Is it necessary to distinguish 'stop'
>   (unconditional stop) from 'shutdown'
>   (stop only if enabled)??
> 
>   Seems that at system shutdown you want
>   everything to be taken down, regardless
>   of whether it was brought up at boot
>   or brought up manually post-boot.
>   The unconditional 'stop' seems to be
>   all that's needed.

I agree, but can you make it use shutdown and just alias it to stop?
This will be just in case we see a new need for a special shutdown case.

> * Local rc scripts (in /usr/local/etc/rc.d)
>   will still get run with a 'start'
>   argument, while system scripts in
>   /etc/rc.d will get a 'boot' argument.
>   That's a bit awkward, but still
>   reasonably consistent:  'start'
>   is still an unconditional operation.

That's fine. No big deal there.

-gordon

Attachment: msg45718/pgp00000.pgp
Description: PGP signature

Reply via email to