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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 description "Chrome OS user interface" 5 description "Chrome OS user interface"
6 author "chromium-os-dev@googlegroups.com" 6 author "chromium-os-dev@googlegroups.com"
7 7
8 start on stopping startup 8 start on stopping startup
9 stop on starting halt or starting reboot 9 stop on starting halt or starting reboot
10 10
(...skipping 27 matching lines...) Expand all
38 38
39 end script 39 end script
40 40
41 exec /sbin/session_manager_setup.sh 41 exec /sbin/session_manager_setup.sh
42 42
43 post-stop script 43 post-stop script
44 44
45 set +e 45 set +e
46 . /sbin/killers 46 . /sbin/killers
47 47
48 # If this was a short-lived, first login, then cryptohome may still be expanding 48 # Terminate any processes with files open on the mount point
49 # the image. resize2fs is called in a loop from mount.cryptohome so we kill it.
50 # The sleep loop in kill_with_open_files_on should be enough time for the
51 # current resize2fs call to complete.
52 term_process "mount.cryptohome$"
53 kill_with_open_files_on /home/chronos/user 49 kill_with_open_files_on /home/chronos/user
54 term_process "^X$" 50 term_process "^X$"
55 51
56 # Eventually, this will take a parameter specifying which user's dir to unmount. 52 # Eventually, this will take a parameter specifying which user's dir to unmount.
57 ! exec /usr/sbin/umount.cryptohome 53 /usr/sbin/cryptohome --action=unmount
58 54
59 end script 55 end script
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698