Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2012 15:48:20 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: boot menu option to disable graphics mode
Message-ID:  <4FD49794.7060408@FreeBSD.org>
In-Reply-To: <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> <jqvnia$152$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 09/06/2012 17:45 Marcin Wisnicki said the following:
> 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.

Hey, this is very nice, thank you!  And developed almost 5 years ago too.
I wonder what rc@ guys would think about committing this.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD49794.7060408>