boot menu option to disable graphics mode

Garrett Cooper yanegomi at gmail.com
Thu Jun 7 15:12:23 UTC 2012


On Thu, Jun 7, 2012 at 7:29 AM, Doug Barton <dougb at freebsd.org> wrote:
> 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]

I've run into _multiple_ scenarios where this isn't possible because
the terminal settings are screwed up in single user mode, and had to
resort to `sed -i '' `.
-Garrett


More information about the freebsd-hackers mailing list