From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 7 15:12:23 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 002D71065687; Thu, 7 Jun 2012 15:12:22 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9D2398FC17; Thu, 7 Jun 2012 15:12:22 +0000 (UTC) Received: by obcni5 with SMTP id ni5so1327774obc.13 for ; Thu, 07 Jun 2012 08:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Pz8GStknNPJ7IALLe8jXGrI4l/DF9YazS10hu3Td5Uk=; b=gg2c855wUVhtu/OcnISQGk2BTyO4ArcIPB/nQK5UnK+3RYGOTHLlaU12jgrrGBGM+V Ce26TQO2oaSfkD7DDqlbwPXO+iSdhpnitNFeFhStG1iti848RgFuapu7vpP1iLydv0NH +GPie7vW8jBHJ9oi3mNLZDhqSfEPTJfy2ktddsSbvKEJyvbj1BjSNB+0afhCUzP5MebC 8wHl9q7bjPUriWMbKHj4hQd0Oy5cRFzORWzH+ILpw0mNdHA55RRhRuah5P164C3AlVw9 5ujg4KUYeT88hIFDf8F+7MsS9U+snqiJNLOFEEDZ0GqUK6EQxRD7j/pA/AJVeIxZVH19 LBaQ== MIME-Version: 1.0 Received: by 10.182.164.69 with SMTP id yo5mr2557210obb.17.1339081942114; Thu, 07 Jun 2012 08:12:22 -0700 (PDT) Received: by 10.76.98.77 with HTTP; Thu, 7 Jun 2012 08:12:22 -0700 (PDT) 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> Date: Thu, 7 Jun 2012 08:12:22 -0700 Message-ID: From: Garrett Cooper To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Cc: Konstantin Belousov , freebsd-hackers@freebsd.org, Gleb Kurtsou , Andriy Gapon 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: Thu, 07 Jun 2012 15:12:23 -0000 On Thu, Jun 7, 2012 at 7:29 AM, Doug Barton 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