[PC-BSD Commits] r304 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Fri Jun 8 10:20:27 PDT 2007


Author: kris
Date: 2007-06-08 18:20:27 +0100 (Fri, 08 Jun 2007)
New Revision: 304

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
Log:

Fixed some bugs with upgrading, saves fstab and home properly now



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2007-06-08 16:58:43 UTC (rev 303)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2007-06-08 17:20:27 UTC (rev 304)
@@ -25,8 +25,9 @@
 
 echo "..."
 
+
 #Backup the various user data 
-tar cvzf /mnt/userdata.tgz "/mnt/usr/local/share/applnk/My Programs" /mnt/usr/local/share/config/kdm/kdmrc "/mnt/usr/local/MyPrograms" "/mnt/Programs" "/mnt/usr/Programs" "/home" "/root" >/dev/null 2>/dev/null
+tar cvzf /mnt/userdata.tgz "/mnt/usr/local/share/applnk/My Programs" /mnt/usr/local/share/config/kdm/kdmrc "/mnt/usr/local/MyPrograms" "/mnt/Programs" "/mnt/usr/Programs" "/mnt/home" "/mnt/root" "/mnt/etc/fstab" "/mnt/usr/home" >/dev/null 2>/dev/null
 
 mkdir /mnt/savebin
 
@@ -43,9 +44,8 @@
 rm /mnt/var/run/denyhosts.pid
 
 # Start the Tar Extraction now
-
+cd /mnt
 echo "........."
-cd /mnt
 
 # Unset LANG variable
 LANGOLD="$LANG"



More information about the Commits mailing list