[PC-BSD Commits] r6140 - pcbsd/trunk/mfsroot-overlay/etc

svn at pcbsd.org svn at pcbsd.org
Mon Feb 1 08:05:41 PST 2010


Author: kris
Date: 2010-02-01 08:05:41 -0800 (Mon, 01 Feb 2010)
New Revision: 6140

Modified:
   pcbsd/trunk/mfsroot-overlay/etc/pcbsd-rc.sh
Log:

Unset boot_livedvd in kenv when this disk doesn't have a valid live image



Modified: pcbsd/trunk/mfsroot-overlay/etc/pcbsd-rc.sh
===================================================================
--- pcbsd/trunk/mfsroot-overlay/etc/pcbsd-rc.sh	2010-02-01 15:30:13 UTC (rev 6139)
+++ pcbsd/trunk/mfsroot-overlay/etc/pcbsd-rc.sh	2010-02-01 16:05:41 UTC (rev 6140)
@@ -153,6 +153,9 @@
   sh /etc/SetupLive.sh
 
 else
+  
+  # Make sure boot_livedvd is unset
+  /bin/kenv -q -u boot_livedvd
 
   # Run integrity checks
   /etc/IntegrityCheck.sh



More information about the Commits mailing list