svn commit: r245742 - head/release

Nathan Whitehorn nwhitehorn at FreeBSD.org
Mon Jan 21 14:06:34 UTC 2013


Author: nwhitehorn
Date: Mon Jan 21 14:06:33 2013
New Revision: 245742
URL: http://svnweb.freebsd.org/changeset/base/245742

Log:
  Fix typo and simplify condition.
  
  Submitted by:	Christoph Mallon <christoph dot mallon at gmx dot de>

Modified:
  head/release/rc.local

Modified: head/release/rc.local
==============================================================================
--- head/release/rc.local	Mon Jan 21 08:59:31 2013	(r245741)
+++ head/release/rc.local	Mon Jan 21 14:06:33 2013	(r245742)
@@ -46,8 +46,7 @@ fi
 export TERM
 
 if [ -f /etc/installerconfig ]; then
-	bsdinstall script /etc/installerconfig
-	if [ $? -eq 0]; then
+	if bsdinstall script /etc/installerconfig; then
 		dialog --backtitle "FreeBSD Installer" --title "Complete" --no-cancel --ok-label "Reboot" --pause "Installation of FreeBSD complete! Rebooting in 10 seconds" 10 30 10
 		reboot
 	else


More information about the svn-src-all mailing list