svn commit: r230483 - head/release

Nathan Whitehorn nwhitehorn at FreeBSD.org
Mon Jan 23 15:50:16 UTC 2012


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


More information about the svn-src-all mailing list