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 Tue, Jun 5, 2012 at 11:40 AM, David Brownlee <abs%netbsd.org@localhost> 
wrote:
> On 5 June 2012 15:11, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> 
> 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.


Home | Main Index | Thread Index | Old Index