Subject: Re: What about startup scripts?? (fwd)
To: Hubert Feyrer <hubert@feyrer.de>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-pkg
Date: 12/31/2000 12:45:21
It's rather simple; install the third-party script into /etc/rc.d with
the appropriate REQUIRE and BEFORE lines.
E.g, if xfstt needs /usr (for /usr/pkg/bin/xfstt ?), but must run
before LOGIN programs, have the following in /etc/rc.d/xfstt:
# REQUIRE: mountcritremote
# BEFORE: LOGIN
Or have I missed the intention of what you want to do?
Luke.
On Sat, Dec 30, 2000 at 02:31:29PM +0100, Hubert Feyrer wrote:
> Your call.
>
> - Hubert
> --
> Hubert Feyrer <hubert@feyrer.de>
>
> ---------- Forwarded message ----------
> Date: Sat, 30 Dec 2000 13:12:32 +0000 (GMT)
> From: Al B. Snell <alaric@alaric-snell.com>
> To: Hubert Feyrer <hubert@feyrer.de>
> Cc: tech-pkg@netbsd.org
> Subject: Re: What about startup scripts??
>
> 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?
>
> >
> > - Hubert
> >
>
> ABS
>
> --
> Alaric B. Snell
> http://www.alaric-snell.com/ http://RFC.net/ http://www.warhead.org.uk/
> Any sufficiently advanced technology can be emulated in software
--
Luke Mewburn <lukem@wasabisystems.com> http://www.wasabisystems.com
Luke Mewburn <lukem@netbsd.org> http://www.netbsd.org
Wasabi Systems - providing NetBSD sales, support and service.