Date: Thu, 7 Jun 2012 08:12:22 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Doug Barton <dougb@freebsd.org> Cc: Konstantin Belousov <kostikbel@gmail.com>, freebsd-hackers@freebsd.org, Gleb Kurtsou <gleb.kurtsou@gmail.com>, Andriy Gapon <avg@freebsd.org> Subject: Re: boot menu option to disable graphics mode Message-ID: <CAGH67wRGuH3gS7iASOw_7DTToVQXFGOxXAwZDsywsZ1K9Ft14w@mail.gmail.com> In-Reply-To: <4FD0BAC6.6000304@FreeBSD.org> References: <4FD05C16.9040905@FreeBSD.org> <20120607084738.GT85127@deviant.kiev.zoral.com.ua> <4FD06CD3.3080602@FreeBSD.org> <20120607095741.GA1361@reks> <4FD0BAC6.6000304@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 7, 2012 at 7:29 AM, Doug Barton <dougb@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wRGuH3gS7iASOw_7DTToVQXFGOxXAwZDsywsZ1K9Ft14w>