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

> On Tue, 5 Feb 2002, 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. Two ideas:
>> 1) We print a message saying "Set this or else you'll see noise at boot"
>> 2) We automatically set the variable to a safe value (e.g., "NO") and
>> print a message saying "To enable, change this to YES".
> We could have a file, "/etc/defaults/rc.pkg.conf", that's sourced from
> within "/etc/defaults/rc.conf", that's controlled by packages at
> install time. The package INSTALL script will just add a foo=NO plus
> comment if ^foo doesn't exist, and leave it at deinstall time.

I'm trying really hard and can't think of anything wrong with this. Neat. 

- Amitai