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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to