Subject: Re: What about startup scripts??
To: Al B. Snell <alaric@alaric-snell.com>
From: Frederick Bruckman <fb@enteract.com>
List: tech-pkg
Date: 12/30/2000 08:30:23
On Sat, 30 Dec 2000, Al B. Snell wrote:
> On Sat, 30 Dec 2000, Hubert Feyrer wrote:
>
> > > ...so we can use lovely rcorder magic goodness in non-core startup
> > > scripts?
> >
> > No, because /usr may not be mounted at that point.
> >
>
> Of course... so what IS the correct solution for packages that need to be
> started before some things in /etc/rc.d such as my xfstt?
I'd prefer to put an rc.d-style script in ${PREFIX}/etc/rc.d, and in
the ${MESSAGE}, suggest to the user to copy that script to /etc/rc.d
and activate it by setting the appropriate variable in /etc/rc.conf.
I've got a handful written already, but I've been waiting for some
kind of consensus to materialize before committing them.
Frederick