Subject: Re: rc local [patches]
To: NetBSD User-Level Technical Discussion List <tech-userlevel@NetBSD.org>
From: Scott Ellis <scotte@warped.com>
List: tech-userlevel
Date: 03/19/2007 20:10:12
Greg A. Woods wrote:
> At Mon, 19 Mar 2007 10:17:20 +0100,
> Thierry Laronde wrote:
>
>> 2) This eases upgrades: /etc/rc.d/ is reserved for NetBSD (in the
>> other mail you mention that you have _changed_ base and etc.tgz so
>> to get rid of postinstall(8) running in /etc/rc.d/. If things are
>> great as they are now why did you do that?
>
> I have no idea what your real problem is here. I've been upgrading
> systems with one lone /etc/rc.d and yet with lots of add-on software
> since almost when /etc/rc.d first appeared.
I just wanted to add a counter-point that I've been wishing NetBSD had
exactly what Theirry is proposing.
We currently have /etc/rc.local which are local changes to the machine.
The root of what is being proposed is the ability to use rc.d/ stype
scripts rather than the rc.local file. The proposal to extend rc.local
into "modern" NetBSD times by allowing rc.local.d/ seems reasonable, and
preserves the differentiation between 'OS' and 'local' scripts.
I for one welcome the thought of an rc.local.d/ .
ScottE