From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 10 12:48:25 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CE29106566B for ; Sun, 10 Jun 2012 12:48:25 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A133B8FC0A for ; Sun, 10 Jun 2012 12:48:24 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA19211; Sun, 10 Jun 2012 15:48:22 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1SdhZ7-00008A-Nh; Sun, 10 Jun 2012 15:48:21 +0300 Message-ID: <4FD49794.7060408@FreeBSD.org> Date: Sun, 10 Jun 2012 15:48:20 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: Marcin Wisnicki References: <4FD05C16.9040905@FreeBSD.org> <20120607084738.GT85127@deviant.kiev.zoral.com.ua> <4FD06CD3.3080602@FreeBSD.org> <20120607095741.GA1361@reks> In-Reply-To: X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: boot menu option to disable graphics mode X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2012 12:48:25 -0000 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