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

Brooks Davis brooks at FreeBSD.org
Tue Oct 30 16:22:55 PDT 2007


On Tue, Oct 30, 2007 at 10:25:49PM +0100, Jeremie Le Hen wrote:
> Doug,
> 
> Sorry for the late reply.
> 
> On Thu, Oct 11, 2007 at 08:58:25AM -0700, Doug Barton wrote:
> >  No one is suggesting removing rc.local, and I would vigorously oppose doing 
> >  so.
> > 
> >  As I said in my last message, if users respond to the deprecation warning 
> >  with a request not to remove it, we can convert it to being a regular rc.d 
> >  script. That way it's only a little dangerous instead of being super 
> >  dangerous and potentially fatal.
> 
> Letting appart the fact that you consider early.sh as a hack, it may
> still be quite useful as other posts in this thread have shown.
> 
> What do you think of something like this:
> 
> /etc/defaults/rc.conf:
> % inline_early=NO
> 
> /etc/rc.d/early.sh
> % if checkyesno inline_early; then
> %	. /etc/rc.early
> % else
> %	(. /etc/rc.early)
> % fi

This seems like a decent compromise to me.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20071030/7ee54c28/attachment.pgp


More information about the cvs-src mailing list