[or-cvs] r16425: Unmount persistent home volume alternatives in the correct o (incognito/trunk/root_overlay/etc/init.d)

anonym at seul.org anonym at seul.org
Tue Aug 5 16:54:31 UTC 2008


Author: anonym
Date: 2008-08-05 12:54:31 -0400 (Tue, 05 Aug 2008)
New Revision: 16425

Modified:
   incognito/trunk/root_overlay/etc/init.d/external-config-setup
Log:
Unmount persistent home volume alternatives in the correct order, and sync before doing it.


Modified: incognito/trunk/root_overlay/etc/init.d/external-config-setup
===================================================================
--- incognito/trunk/root_overlay/etc/init.d/external-config-setup	2008-08-05 16:53:26 UTC (rev 16424)
+++ incognito/trunk/root_overlay/etc/init.d/external-config-setup	2008-08-05 16:54:31 UTC (rev 16425)
@@ -88,9 +88,11 @@
 	if [[ -f /var/state/boot-media-home ]]; then
 		ebegin "Unmounting boot media /home"
 		sync
-		umount /home && rm /var/state/boot-media-home
-		truecrypt -t -d
-		eend $?
+		truecrypt -t -d &> /dev/null
+		sync
+		umount /home &> /dev/null
+		rm /var/state/boot-media-home
+		eend 0
 	fi
 }
 



More information about the tor-commits mailing list