Subject: Re: pkg/30652
To: None <bouyer@netbsd.org, gnats-admin@netbsd.org,>
From: Peter Seebach <seebs@plethora.net>
List: pkgsrc-bugs
Date: 05/10/2006 10:18:45
The following reply was made to PR pkg/30652; it has been noted by GNATS.
From: seebs@plethora.net (Peter Seebach)
To: "Jeremy C. Reed" <reed@reedmedia.net>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/30652
Date: Mon, 08 May 2006 22:10:21 -0500
In message <Pine.NEB.4.62.0605082001040.23392@pilchuck.reedmedia.net>, "Jeremy
C. Reed" writes:
>On Mon, 8 May 2006, Peter Seebach wrote:
>
>> I don't recall. I think it was just not installed.
>
> If a package contains a rc.d script, it won't be copied into the
> startup directory by default, but you can enable it, by adding the
> option PKG_RCD_SCRIPTS=YES in /etc/mk.conf. (Also PKG_CONFIG needs to
> be set to the default YES.) This will copy the scripts to the
> ${RCD_SCRIPTS_DIR} (which defaults to /etc/rc.d) when a package is
> installed, and it will automatically remove the scripts when the
> package is deinstalled.
>
> Setting PKG_RCD_SCRIPTS=YES in the environment can also be used when
> installing binary packages using pkg_add(1) to copy the rc.d scripts
> into place.
When I did this, I think it may have been on an older system where the setup
wasn't there by default; I no longer remember!
-s