Subject: Re: /usr/pkg/etc/rc.d/*
To: Chuck Yerkes <chuck+nbsd@2003.snew.com>
From: Tom Ivar Helbekkmo <tih@eunetnorge.no>
List: current-users
Date: 03/18/2003 07:49:14
Chuck Yerkes <chuck+nbsd@2003.snew.com> writes:

> The "right answer" might simply be to have /etc/rc.local.d/ (or
> whatever name you like) and change the rcorder call to  include
> that as well:

That's what I do, except I don't change the call; I do the following
in my /etc/rc.conf:

rc_rcorder_flags="/etc/rc.pkg.d/*"
rcshutdown_rcorder_flags=$rc_rcorder_flags

...followed by setting the variables for the various packages.  Over
in /usr/pkg/etc, rc.d is a symlink to /etc/rc.pkg.d.  (This causes a
complaint from pkg_install, which I ignore.)

-tih
-- 
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway
www.eunet.no  T: +47-22092958 M: +47-93013940 F: +47-22092901