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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] * 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. > > With it, you can override any rc variable from loader.conf by prefixing > its name with 'rc.', some useful examples: > > # disable gdm > set rc.gdm_enable=no > > # start only base scripts > set rc.local_startup= > > # alternative rc.conf > set rc.rc_conf_files=/etc/rc.conf.safe > > I find it often more convenient than booting into single-user, remounting > rw and editing conf files. > > If it's worth committing I can try to update rc.conf(5) & loader(8) manuals. That's a great idea! AOL: Me Too! ;-) -- Ed Schouten <ed@fxq.nl> WWW: http://g-rave.nl/ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHLihh52SDGA2eCwURAvf0AJwMuPSgoJ09l4LGltl9HJ2uRz1dxACfdWj1 YG3AMOjqNBaqns4LJ8QJveU= =P09U -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071104201529.GC1179>
