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

Side by Side Diff: session_manager_setup.sh

Issue 661224: Stop infinite restarting (Closed)
Patch Set: Created 10 years, 10 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 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 XAUTH=/usr/bin/xauth 7 XAUTH=/usr/bin/xauth
8 XAUTH_FILE="/var/run/chromelogin.auth" 8 XAUTH_FILE="/var/run/chromelogin.auth"
9 SERVER_READY= 9 SERVER_READY=
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 USER_ID=$(/usr/bin/id -u ${USER}) 51 USER_ID=$(/usr/bin/id -u ${USER})
52 52
53 while [ -z ${SERVER_READY} ]; do 53 while [ -z ${SERVER_READY} ]; do
54 sleep .1 54 sleep .1
55 done 55 done
56 56
57 exec /sbin/session_manager --uid=${USER_ID} --login --pipe=${MANAGER_PIPE} -- \ 57 exec /sbin/session_manager --uid=${USER_ID} --login --pipe=${MANAGER_PIPE} -- \
58 $CHROME --enable-gview \ 58 $CHROME --enable-gview \
59 --enable-sync \ 59 --enable-sync \
60 --log-level=0 \
60 --main-menu-url="http://welcome-cros.appspot.com/menu" \ 61 --main-menu-url="http://welcome-cros.appspot.com/menu" \
61 --no-first-run \ 62 --no-first-run \
62 --user-data-dir=/home/$USER \ 63 --user-data-dir=/home/$USER \
63 --profile=user \ 64 --profile=user \
64 "--cookie-pipe=$COOKIE_PIPE" 65 "--cookie-pipe=$COOKIE_PIPE"
OLDNEW
« child_job.cc ('K') | « session_manager_service.cc ('k') | session_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698