Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2007 17:02:32 -0500
From:      Brooks Davis <brooks@FreeBSD.org>
To:        Jeremie Le Hen <jeremie@le-hen.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:  <20071030220232.GA2258@lor.one-eyed-alien.net>
In-Reply-To: <20071030212549.GK78526@obiwan.tataz.chchile.org>
References:  <200710090730.l997UEEF042804@repoman.freebsd.org> <20071010002930.GA91077@dragon.NUXI.org> <20071010183542.GA58383@hub.freebsd.org> <alpine.BSF.0.9999.0710101744420.8687@qbhto.arg> <86odf615j2.fsf@ds4.des.no> <alpine.BSF.0.9999.0710110850090.12203@qbhto.arg> <20071030212549.GK78526@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 30, 2007 at 10:25:49PM +0100, Jeremie Le Hen wrote:
> Doug,
>=20
> Sorry for the late reply.
>=20
> 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=20
> >  so.
> >=20
> >  As I said in my last message, if users respond to the deprecation warn=
ing=20
> >  with a request not to remove it, we can convert it to being a regular =
rc.d=20
> >  script. That way it's only a little dangerous instead of being super=
=20
> >  dangerous and potentially fatal.
>=20
> 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.
>=20
> What do you think of something like this:
>=20
> /etc/defaults/rc.conf:
> % inline_early=3DNO
>=20
> /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

--TB36FDmn/VVEgNH/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFHJ6n4XY6L6fI4GtQRAq1xAJ9vAQyni+iYU4VCo1bsWfdi/X4rFgCfTjIy
XKUDSb6pkANXrZ99eacikZ8=
=IoHe
-----END PGP SIGNATURE-----

--TB36FDmn/VVEgNH/--



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