Subject: Re: rc.d network vs NETWORK
To: None <firstname.lastname@example.org>
From: Thilo Manske <thilo@.HEH.Uni-Oldenburg.DE>
Date: 04/21/2001 15:44:45
On Sat, Apr 21 2001 at 10:19:04 +1000, Luke Mewburn wrote:
> That said, NetBSD is an open source operating system. Part of the
> advantage of it is that you're free to modify /etc/rc to call
> rcorder with the extra directories you want to run; it's rather
> trivial, and /etc/rc shouldn't require updating from /usr/src/etc
> very often, since it's not likely to change much in the future.
Why not have a configuration variable like "rc_files" or something
like that in rc.conf? Adding additional rc-dirs that way would be even
more trivial and less dirty...
A simple implementation of that idea would be this:
files=`eval rcorder -s nostart $rc_files`
files=`eval rcorder -s nostart /etc/rc.d/* $local_rc_files`
(instead of files=`rcorder ...`)
DISCLAIMER: I haven't tried this, it's for demonstration only :-)
Dies ist Thilos Unix Signature! Viel Spass damit.