Subject: Re: rc.local and rcorder(8)
To: NetBSD-current Discussion List <current-users@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 06/25/2002 17:19:22
On Tue, Jun 25, 2002 at 11:15:17AM -0400, Greg A. Woods wrote:
> Huh? They're both just plain old shell scripts. If you can do
> something in rc.local then you can write an rc.d script to do it as
> well. The only significant difference is that in an rc.d script you
> should probably do something intelligible with the first command-line
> parameter.
>
> Other than third-party programs which expect to install their hooks in
> rc.local and which you don't want to modify to do otherwise, the only
> only things more appropriate for rc.local are those really simple things
> that don't need to be started in any particular order, don't normally
> need to be stopped before a shutdown, and which require just a simple
> one-line entry to invoke, _and_ (this is the most important point) are
> so trivial and unimportant that you don't want to take the few moments
> that would be necessary to write a proper rc.d script.
Yes, there are. But there may be daemons that have a rc.d script, and that
I want to be started last, even after rc.local, because they take very
long to start (I'm thinking about atalk, for example)
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--