Re: [PATCH] Overriding rc.conf in loader

From: Ed Schouten <ed_at_fxq.nl>
Date: Sun, 4 Nov 2007 21:15:29 +0100
* Marcin Wisnicki <mwisnicki+freebsd_at_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_at_fxq.nl>
 WWW: http://g-rave.nl/

Received on Sun Nov 04 2007 - 19:14:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:21 UTC