[PC-BSD Commits] r5723 - pcbsd/trunk/pc-sysinstall/backend

svn at pcbsd.org svn at pcbsd.org
Wed Dec 30 14:56:22 PST 2009


Author: kris
Date: 2009-12-30 14:56:22 -0800 (Wed, 30 Dec 2009)
New Revision: 5723

Modified:
   pcbsd/trunk/pc-sysinstall/backend/functions-upgrade.sh
Log:

Small fix, try unmounting var also, and don't need some extra output



Modified: pcbsd/trunk/pc-sysinstall/backend/functions-upgrade.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-upgrade.sh	2009-12-30 22:48:01 UTC (rev 5722)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-upgrade.sh	2009-12-30 22:56:22 UTC (rev 5723)
@@ -138,12 +138,14 @@
    cd /
 
    # Unmount FS
-   chroot ${FSMNT} /sbin/umount -a >>${LOGOUT} >>${LOGOUT}
-   umount ${FSMNT}/usr >>${LOGOUT} 2>>${LOGOUT}
-   umount ${FSMNT}/dev >>${LOGOUT} 2>>${LOGOUT}
-   umount ${FSMNT} >>${LOGOUT} 2>>${LOGOUT}
+   chroot ${FSMNT} /sbin/umount -a >/dev/null 2>/dev/null
+   umount ${FSMNT}/usr >/dev/null 2>/dev/null
+   umount ${FSMNT}/var >/dev/null 2>/dev/null
+   umount ${FSMNT}/dev >/dev/null 2>/dev/null
+   umount ${FSMNT} >/dev/null 2>/dev/null
 
    # Run our saved unmount script for these file-systems
    rc_nohalt "sh ${TMPDIR}/.upgrade-unmount"
-  
+ 
+   umount ${CDMNT} 
 };



More information about the Commits mailing list