Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2012 15:50:16 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230483 - head/release
Message-ID:  <201201231550.q0NFoGAU033074@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201231550.q0NFoGAU033074>