Subject: Re: rc.d network vs NETWORK
To: Tom Ivar Helbekkmo <tih@kpnQwest.no>
From: Luke Mewburn <firstname.lastname@example.org>
Date: 04/20/2001 17:45:37
On Fri, Apr 20, 2001 at 08:40:55AM +0200, Tom Ivar Helbekkmo wrote:
> Speaking of rc.d and rcorder: should there, perhaps, be an rc.conf
> variable one could set to make /etc/rc and /etc/rc.shutdown include
> /usr/pkg/etc/rc.d/* and/or /usr/local/etc/rc.d/* automatically?
This assumes that /usr/pkg and /usr/local is available at boot time
(i.e, on the / filesystem). If you add them later into the dependency
tree, they may not get started at the correct time.
The issue of how to support how a package install adds its own rc.d
startup script and configuration to the system has not yet been
resolved (there's been a fair bit of debate on this issue). I believe
the current suggested practice is to copy /usr/pkg/etc/rc.d/foo ->
/etc/rc.d, and add an entry to /etc/rc.conf or /etc/rc.conf.d/foo.
At least, this is what I do.