From owner-svn-src-all@FreeBSD.ORG Mon Jan 23 15:50:16 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FEA71065670; Mon, 23 Jan 2012 15:50:16 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5EAFE8FC1B; Mon, 23 Jan 2012 15:50:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q0NFoG1H033076; Mon, 23 Jan 2012 15:50:16 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q0NFoGAU033074; Mon, 23 Jan 2012 15:50:16 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201201231550.q0NFoGAU033074@svn.freebsd.org> From: Nathan Whitehorn Date: Mon, 23 Jan 2012 15:50:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r230483 - head/release X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2012 15:50:16 -0000 Author: nwhitehorn Date: Mon Jan 23 15:50:16 2012 New Revision: 230483 URL: http://svn.freebsd.org/changeset/base/230483 Log: Do a test in a better way. Editing files after testing them is never wise. Modified: head/release/rc.local Modified: head/release/rc.local ============================================================================== --- head/release/rc.local Mon Jan 23 15:44:52 2012 (r230482) +++ head/release/rc.local Mon Jan 23 15:50:16 2012 (r230483) @@ -13,7 +13,7 @@ if [ $? -eq 0 ]; then # Syscons: use xterm, start interesting things on other VTYs TERM=xterm - if [ "$EXTERNAL_VTY_STARTED" -ne 1 ]; then + if [ -z "$EXTERNAL_VTY_STARTED" ]; then vidcontrol -s 2 # Switch to a VTY with no kernel messages # Init will clean these processes up if/when the system # goes multiuser