pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PKG_RCD_SCRIPTS=YES be default?

On 5 June 2012 21:34, Justin Sherrill <> 
> On Tue, Jun 5, 2012 at 11:40 AM, David Brownlee <> 
> wrote:
>> On 5 June 2012 15:11, Joerg Sonnenberger <> 
>> wrote:
>>> On Tue, Jun 05, 2012 at 08:27:15AM -0500, Jeremy C. Reed wrote:
>>>> What is more user friendly -- needed rc.d scripts not installed or
>>>> unneeded rc.d scripts installed but disabled?
>>> Installing scripts to /etc/rc.d -- no. Installing them to /etc/rc.pkg.d
>>> or whatever, sure why.
>> I'd prefer them in /etc/rc.d, but understand that reasoning...
>> So, attempting to please everyone^Wmost^Wmore than we upset, how about:
>> - RCD_SCRIPTS_DIR defaults to /etc/rc.pkg.d
>> - PKG_RCD_SCRIPTS defaults to on, but some platforms can override to default 
>> off
>> - NetBSD changes rc rc_directories to default to rc.d,rc.pkg.d,rc.local.d
> That means on DragonFly we will have /etc/rc.d, /usr/pkg/etc/rc.d, and
> now have to add a /etc/rc.pkg.d.  It's adding to the mess.
> I don't have a better solution, though.

DragonFly could elect to install packages into /usr/pkg/etc/rc.d, but
cross platform consistency might be better.
How does DragonFly handle local rc.d scripts, is there the option of a
specific directory or would they be expected to go into /etc/rc.d?

Home | Main Index | Thread Index | Old Index