OLD | NEW |
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 Loading... |
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" |
OLD | NEW |