Subject: Re: Non strict REQUIRE/BEFORE in rcorder(8)
To: None <>
From: Juan RP <>
List: current-users
Date: 02/04/2004 18:08:20
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 4 Feb 2004 19:04:03 +0200
"Mike M. Volokhov" <> wrote:

> Hmm... IMHO, even 3rd party scripts should be resided in /etc/rc.d too.
> Moreover, you can depend joined /etc/rc.d and ${LOCALBASE}/etc/rc.d by
> the following command:
> 	rcorder /etc/rc.d/* ${LOCALBASE}/etc/rc.d/*
> But this means that your ${LOCALBASE}/etc/rc.d directory must be
> accessible *before* any file system has been mounted. On my own systems
> I just have copied /usr/pkg/etc/rc.d/* scripts to system /etc/rc.d, so
> as potentially all my used 3rd party software must be ran *after*
> file systems mounts. This will build all dependencies needed and then
> all 3rd party daemons / tools will smoothly starts.

You don't need to copy the rc.d scripts by hand...

PKG_RCD_SCRIPTS does it automatically... 
(it's explained in pkgsrc/mk/

# PKG_RCD_SCRIPTS indicates whether to automatically install rc.d scripts
#       to ${RCD_SCRIPTS_DIR}.  It is either YES or NO and defaults to
#       NO.  This variable only takes effect if ${PKG_CONFIG} == "YES".

RCD_SCRIPTS_DIR by default is /etc/rc.d ...

Juan RP <>

Content-Type: application/pgp-signature

Version: GnuPG v1.2.4 (NetBSD)