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

svn at pcbsd.org svn at pcbsd.org
Wed Nov 18 16:41:04 PST 2009


Author: kris
Date: 2009-11-18 16:41:04 -0800 (Wed, 18 Nov 2009)
New Revision: 5076

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

Updated our mfsroot rc script to look for pc-autoinstall.conf directives



Modified: pcbsd/trunk/mfsroot-overlay/etc/pcbsd-rc.sh
===================================================================
--- pcbsd/trunk/mfsroot-overlay/etc/pcbsd-rc.sh	2009-11-19 00:20:40 UTC (rev 5075)
+++ pcbsd/trunk/mfsroot-overlay/etc/pcbsd-rc.sh	2009-11-19 00:41:04 UTC (rev 5076)
@@ -161,6 +161,13 @@
 # Create a /tmp file system with some extra space
 /sbin/mdmfs -S -s 15M -O space md6 /tmp
 
+# Check if we have a pc-autoinstall.conf file
+if [ -e "/cdmnt/boot/pc-autoinstall.conf" ]
+then
+  # We have one, copy it over so that pc-sysinstall can parse it later during the bootup
+  cp /cdmnt/boot/pc-autoinstall.conf /tmp/pc-autoinstall.conf
+fi
+
 if [ "$bootlive" = "YES" -a -e "/cdmnt/PCBSD.ufs.uzip" ]
 then
   # We are running in LIVE mode



More information about the Commits mailing list