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

svn at pcbsd.org svn at pcbsd.org
Wed Dec 2 10:35:16 PST 2009


Author: kris
Date: 2009-12-02 10:35:16 -0800 (Wed, 02 Dec 2009)
New Revision: 5204

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

Fixed typos in SetupInstall.sh



Modified: pcbsd/trunk/mfsroot-overlay/etc/SetupInstall.sh
===================================================================
--- pcbsd/trunk/mfsroot-overlay/etc/SetupInstall.sh	2009-12-02 18:34:20 UTC (rev 5203)
+++ pcbsd/trunk/mfsroot-overlay/etc/SetupInstall.sh	2009-12-02 18:35:16 UTC (rev 5204)
@@ -26,17 +26,17 @@
   cp /cdmnt/boot/pc-autoinstall.conf /tmp/pc-autoinstall.conf
   
   # Check if the config file is on disk as well
-  PC-CFG=`grep "pc_config:" /tmp/pc-autoinstall.conf | grep -v "^#" | cut -d ':' -f 2 | tr -d ' '`
+  PCCFG=`grep "pc_config:" /tmp/pc-autoinstall.conf | grep -v "^#" | cut -d ':' -f 2 | tr -d ' '`
 
   # Check that this isn't a http / ftp file we need to fetch later
-  echo "${PC-CFG}" | grep -e "^http" -e "^ftp" > /dev/null 2>/dev/null
+  echo "${PCCFG}" | grep -e "^http" -e "^ftp" > /dev/null 2>/dev/null
   if [ "$?" != "0" ]
   then
-    if [ -e "/cdmnt/${PC-CFG}" ]
+    if [ -e "/cdmnt/${PCCFG}" ]
     then
-      cp /cdmnt/${PC-CFG} /tmp/pc-sysinstall.cfg
+      cp /cdmnt/${PCCFG} /tmp/pc-sysinstall.cfg
     else
-      echo "ERROR: pc_config: ${PC-CFG} isn't on the boot media! Automated install aborted!"
+      echo "ERROR: pc_config: ${PCCFG} isn't on the boot media! Automated install aborted!"
       rm /tmp/pc-autoinstall.conf
     fi 
   fi



More information about the Commits mailing list