Subject: Re: Handling 3rd party rc scripts
To: None <>
From: Amitai Schlair <>
List: tech-pkg
Date: 02/06/2002 02:32:24
On Tuesday, February 5, 2002, at 09:40  PM, Lubomir Sedlacik wrote:

> On Tue, Feb 05, 2002 at 09:13:30PM -0500, Amitai Schlair wrote:
>> IIRC, the reason INSTALL_RCD_SCRIPTS defaults to NO is that if someone
>> installs a package with an rc.d script and forgets to set the
>> appropriate rc.conf variable, it makes noise at boot. If we're going to
>> change the default value of INSTALL_RCD_SCRIPTS to YES, then we have to
>> account for this.
> and that is the default behaviour.  see pkgsrc/mk/ for
> further details:
>   # Default to not installing the rc.d scripts automatically.

Right, that is what we have now. I was responding to what you had 
previously written:

> and what about using existing RCD_SCRIPTS_DIR (which is set by default
> to /etc/rc.d) and define INSTALL_RCD_SCRIPTS to YES?

I think that's exactly what we should do. (Thanks for pointing me at the 
relevant code.) I'm only pointing out that if we do it, then we're 
rediscovering the minor problem that made INSTALL_RCD_SCRIPTS default to 
NO, and we should solve this too!

- Amitai