Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2007 21:15:29 +0100
From:      Ed Schouten <ed@fxq.nl>
To:        Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: [PATCH] Overriding rc.conf in loader
Message-ID:  <20071104201529.GC1179@hoeg.nl>
In-Reply-To: <fgkqpu$rhp$1@ger.gmane.org>
References:  <fgkqpu$rhp$1@ger.gmane.org>

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

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

* Marcin Wisnicki <mwisnicki+freebsd@gmail.com> wrote:
> I thought it would be nice if there was a way to override rc.conf
> variables during boot. Proposed patch implements this using kenv.
>=20
> With it, you can override any rc variable from loader.conf by prefixing=
=20
> its name with 'rc.', some useful examples:
>=20
>  # disable gdm
>  set rc.gdm_enable=3Dno
>=20
>  # start only base scripts
>  set rc.local_startup=3D
>=20
>  # alternative rc.conf
>  set rc.rc_conf_files=3D/etc/rc.conf.safe
>=20
> I find it often more convenient than booting into single-user, remounting
> rw and editing conf files.
>=20
> If it's worth committing I can try to update rc.conf(5) & loader(8) manua=
ls.

That's a great idea! AOL: Me Too! ;-)

--=20
 Ed Schouten <ed@fxq.nl>
 WWW: http://g-rave.nl/

--YiEDa0DAkWCtVeE4
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFHLihh52SDGA2eCwURAvf0AJwMuPSgoJ09l4LGltl9HJ2uRz1dxACfdWj1
YG3AMOjqNBaqns4LJ8QJveU=
=P09U
-----END PGP SIGNATURE-----

--YiEDa0DAkWCtVeE4--



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