Subject: Re: Howto submission for setting up CUPS
To: Byron Servies <bservies@pacang.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-docs
Date: 04/20/2004 10:04:43
On Tue, 20 Apr 2004, Byron Servies wrote:

> Since when is rc.local deprecated?  Copying an rc script from
> /usr/pkg/etc/ to /etc is not a good solution because updating the
> package potentially puts the startup scripts out of sync.

It could be copied to /etc using the standard pkgsrc methods.
Just define in your mk.conf:

RCD_SCRIPTS_DIR=	/etc/rc.d

PKG_RCD_SCRIPTS=        YES  # or set in environment when using pkg_*

And it should install the rc.d scripts to where you expect them. And then
it should be removed when uninstalled.

   Jeremy C. Reed
   http://bsd.reedmedia.net/