Subject: Re: /usr/pkg/etc/rc.d/ scripts
To: David Ferlier <david@netbsd-fr.org>
From: Ceri Storey <cez@necrofish.org.uk>
List: netbsd-users
Date: 03/23/2003 23:37:53
On Mon, Mar 24, 2003 at 12:08:31AM +0100, David Ferlier wrote:
> > cd /etc/rc.d
> > ln -s /usr/pkg/etc/rc.d/<what_i_need> .
[...]
> files=$(rcorder -s nostart ${rc_rcorder_flags} /etc/rc.d/* /usr/pkg/etc/rc.d/*)

This is all good in theory, but on most systems, /usr won't have been mounted 
when /etc/rc is run (and therefore rcorder). Therefore none of the rc
scripts in /usr/pkg/etc/rc.d will be there to be checked for
dependancies, and so ignored. 

What I do is to just copy them into /etc/rc.d. You might find the
recent discussion about this on tech-pkg interesting. (search for
PKG_RCD_SCRIPTS)
-- 
Ceri Storey <cez@necrofish.org.uk>