Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2007 12:21:36 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        obrien@FreeBSD.org
Cc:        cvs-src@FreeBSD.org, Doug Barton <dougb@FreeBSD.org>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/etc/rc.d early.sh
Message-ID:  <86hckzgthr.fsf@ds4.des.no>
In-Reply-To: <20071010002930.GA91077@dragon.NUXI.org> (David O'Brien's message of "Tue\, 9 Oct 2007 17\:29\:30 -0700")
References:  <200710090730.l997UEEF042804@repoman.freebsd.org> <20071010002930.GA91077@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"David O'Brien" <obrien@FreeBSD.org> writes:
> On Tue, Oct 09, 2007 at 07:30:14AM +0000, Doug Barton wrote:
> >   Modified files:
> >     etc/rc.d             early.sh=20
> >   Log:
> >   Deprecate use of the early.sh script as advertised when the support f=
or
> >   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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hckzgthr.fsf>