cvs commit: src/etc/rc.d early.sh

Dag-Erling Smørgrav des at des.no
Wed Oct 10 03:21:52 PDT 2007


"David O'Brien" <obrien at FreeBSD.org> writes:
> On Tue, Oct 09, 2007 at 07:30:14AM +0000, Doug Barton wrote:
> >   Modified files:
> >     etc/rc.d             early.sh 
> >   Log:
> >   Deprecate use of the early.sh script as advertised when the support for
> >   local rc.d scripts in the overall boot order was added.
> ". /etc/rc.early" in /etc/rc will stay?  Correct?

There is no ". /etc/rc.early" in /etc/rc; /etc/rc.early is run by
/etc/rc.d/early.sh.

I must confess I don't really see the point of this change.  Yes, people
can write rc.d scripts instead, but not (by far) as easily as they can
add a line or two to rc.early.

If the problem is that rc.early is sourced by early.sh which is sourced
by rc, simply rename early.sh to early so it runs in a subshell instead.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list