cvs commit: src/etc/rc.d

Mike Makonnen mtm at FreeBSD.Org
Wed Oct 10 10:31:05 PDT 2007

On Wed, Oct 10, 2007 at 05:07:45PM +0200, Dag-Erling Sm??rgrav wrote:
> Dag-Erling Sm??rgrav <des at> writes:
> > 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 which is sourced
> > by rc, simply rename to early so it runs in a subshell instead.
> Doug, any chance you can back out your change and apply to have
> src/etc/rc.d/ renamed to src/etc/rc.d/early instead?

Whatever we end up doing just an FYI that the reason it's a .sh script
is because it was sourced directly into the pre-rc.d /etc/rc. If
we change it to be sourced in a sub-shell we will break rc.early scripts
that define/modify environment variables that later scripts depend on.

Mike Makonnen         | GPG-KEY:
mmakonnen @ | AC7B 5672 2D11 F4D0 EBF8  5279 5359 2B82 7CD4 1F55
mtm @ FreeBSD.Org     | FreeBSD -

More information about the cvs-src mailing list