From owner-freebsd-current@FreeBSD.ORG Sun Nov 4 20:14:43 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3F6816A420 for ; Sun, 4 Nov 2007 20:14:43 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 66E7513C4A6 for ; Sun, 4 Nov 2007 20:14:43 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 8201B1CD0D; Sun, 4 Nov 2007 21:15:29 +0100 (CET) Date: Sun, 4 Nov 2007 21:15:29 +0100 From: Ed Schouten To: Marcin Wisnicki Message-ID: <20071104201529.GC1179@hoeg.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: FreeBSD Current Subject: Re: [PATCH] Overriding rc.conf in loader X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2007 20:14:43 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Marcin Wisnicki 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 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--