Subject: Re: Handling 3rd party rc scripts
To: NetBSD Packages Technical Discussion List <tech-pkg@netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 02/05/2002 20:35:32
On Tue, 5 Feb 2002, Greg A. Woods wrote:

> I don't mind $rc_rcorder_flags, but I would _really_ like to separately
> define the list of any additional directories, and to explicitly do the
> expansion rather than rely on the magic of someone either explicitly
> listing new files, or supplying a shell filename expansion pattern.

Why?

> One advantage of this is it allows /usr/pkg/etc/rc.d to be a symlink
> pointing to /etc/rc.d (or even /usr/pkg/etc -> /etc) on any system where
> /usr (or /usr/pkg) is not on the root filesystem.  I do use this ability
> on a non-production test machine as it makes test installs much easier.

Look, if the script is registered to the package in /etc/rc.d, then's
there's no need to ever do any of that. /usr/{X11R6,pkg}/etc/rc.d no
longer exists, and all your creative modifications can go into /etc.

Frederick