Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: src/platform/init/ui.conf

Issue 2051003: Initial patch from Will. (Closed) Base URL: ssh://git@chromiumos-git/chromiumos
Patch Set: Address style nits. Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/platform/init/ui.conf
diff --git a/src/platform/init/ui.conf b/src/platform/init/ui.conf
index 8cc20f7161f72df0df10ddb6aed2643e0a7aa235..db4608bea1092846888fcad71c44d8d808b8cc30 100644
--- a/src/platform/init/ui.conf
+++ b/src/platform/init/ui.conf
@@ -45,15 +45,11 @@ post-stop script
set +e
. /sbin/killers
-# If this was a short-lived, first login, then cryptohome may still be expanding
-# the image. resize2fs is called in a loop from mount.cryptohome so we kill it.
-# The sleep loop in kill_with_open_files_on should be enough time for the
-# current resize2fs call to complete.
-term_process "mount.cryptohome$"
+# Terminate any processes with files open on the mount point
kill_with_open_files_on /home/chronos/user
term_process "^X$"
# Eventually, this will take a parameter specifying which user's dir to unmount.
-! exec /usr/sbin/umount.cryptohome
+/usr/sbin/cryptohome --action=unmount
end script

Powered by Google App Engine
This is Rietveld 408576698