boot menu option to disable graphics mode

Andriy Gapon avg at FreeBSD.org
Thu Jun 7 18:11:00 UTC 2012


on 07/06/2012 17:29 Doug Barton said the following:
> On 06/07/2012 02:57 AM, Gleb Kurtsou wrote:
>> 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
> 
> Why not just:
> 
> boot single user
> fsck -p
> mount -a
> $EDITOR /etc/rc.conf[.local]
> 

Ah, right.  Why provide a way to do something using one command at one prompt
(or even toggling a menu option using a single keystroke) when you can already
do the same using multiple commands at multiple places (and also trying to not
forget to undo your changes later)...

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list