Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2012 14:45:30 +0000 (UTC)
From:      Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: boot menu option to disable graphics mode
Message-ID:  <jqvnia$152$1@dough.gmane.org>
References:  <4FD05C16.9040905@FreeBSD.org> <20120607084738.GT85127@deviant.kiev.zoral.com.ua> <4FD06CD3.3080602@FreeBSD.org> <20120607095741.GA1361@reks>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 07 Jun 2012 12:57:41 +0300, Gleb Kurtsou wrote:

> On (07/06/2012 11:56), Andriy Gapon wrote:
>> A user doesn't have to select the option unless he needs to. A "simple
>> user" can just reboot without selecting the option to get back his X. A
>> user doesn't have to learn anything about the code, just about kenv and
>> "magic" inhibit_gui variable.
> 
> What do you think about adding generic support for overriding *_enable
> options in rc.conf?
> 
> I'd like to be able to disable services at boot prompt, e.g. # set
> rc.slim_enable="no" -- overrides slim_enable="yes" in rc.conf
> 
> Similarly rc.pf_enable="no"
> 
> Then introduce x_enable knob (=yes by default) to disable login
> managers. User will be able to override this setting with # service xdm
> forcestart
> 

That's trivial to implement:

http://lists.freebsd.org/pipermail/freebsd-current/2007-November/079241.html

Still applies with minor reject that can be ignored or easily resolved.

It also brings support for overriding path to rc.conf, allowing multiple
boot configurations.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jqvnia$152$1>