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

svn at pcbsd.org svn at pcbsd.org
Tue Dec 29 06:58:07 PST 2009


Author: kris
Date: 2009-12-29 06:58:06 -0800 (Tue, 29 Dec 2009)
New Revision: 5706

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

Fixed small bug creating sym-links for live mode



Modified: pcbsd/trunk/mfsroot-overlay/etc/SetupLive.sh
===================================================================
--- pcbsd/trunk/mfsroot-overlay/etc/SetupLive.sh	2009-12-29 14:45:14 UTC (rev 5705)
+++ pcbsd/trunk/mfsroot-overlay/etc/SetupLive.sh	2009-12-29 14:58:06 UTC (rev 5706)
@@ -38,16 +38,14 @@
 cd /mntuzip/usr
 for i in `ls`
 do
-  if [ "${i}" != "PCBSD" ]
-  then
-    ln -s /mntuzip/usr/$i /usr/$i
-  fi
+  ln -s /mntuzip/usr/$i /usr/$i
 done
 
 # Now make /PCBSD sym-links
+rm /usr/PCBSD
 mkdir /usr/PCBSD
-cd /mntuzip/usr/PCBSD
 ln -s /root/pc-sysinstall /usr/PCBSD/pc-sysinstall
+cd /mntuzip/usr/PCBSD
 for i in `ls`
 do
   if [ "${i}" != "pc-sysinstall" ]



More information about the Commits mailing list