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.

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to