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 # Set up to start the X server ASAP, then let the startup run in the | 7 # Set up to start the X server ASAP, then let the startup run in the |
8 # background while we set up other stuff. | 8 # background while we set up other stuff. |
9 XAUTH_FILE="/var/run/chromelogin.auth" | 9 XAUTH_FILE="/var/run/chromelogin.auth" |
10 MCOOKIE=$(head -c 8 /dev/urandom | openssl md5) # speed this up? | 10 MCOOKIE=$(head -c 8 /dev/urandom | openssl md5) # speed this up? |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 # Device Manager Server used to fetch the enterprise policy, if applicable. | 280 # Device Manager Server used to fetch the enterprise policy, if applicable. |
281 DMSERVER="https://m.google.com/devicemanagement/data/api" | 281 DMSERVER="https://m.google.com/devicemanagement/data/api" |
282 | 282 |
283 exec /sbin/session_manager --uid=${USER_ID} -- \ | 283 exec /sbin/session_manager --uid=${USER_ID} -- \ |
284 $CHROME --apps-gallery-title="Web Store" \ | 284 $CHROME --apps-gallery-title="Web Store" \ |
285 --apps-gallery-url="https://chrome.google.com/webstore/" \ | 285 --apps-gallery-url="https://chrome.google.com/webstore/" \ |
286 --compress-sys-feedback \ | 286 --compress-sys-feedback \ |
287 --device-management-url="$DMSERVER" \ | 287 --device-management-url="$DMSERVER" \ |
288 --disable-domui-menu \ | 288 --disable-domui-menu \ |
289 --disable-seccomp-sandbox \ | 289 --disable-seccomp-sandbox \ |
| 290 --enable-accelerated-plugins \ |
290 --enable-gview \ | 291 --enable-gview \ |
291 --enable-logging \ | 292 --enable-logging \ |
292 --enable-login-images \ | 293 --enable-login-images \ |
293 --enable-tabbed-options \ | 294 --enable-tabbed-options \ |
294 --log-level=1 \ | 295 --log-level=1 \ |
295 --login-manager \ | 296 --login-manager \ |
296 --login-profile=user \ | 297 --login-profile=user \ |
297 --no-first-run \ | 298 --no-first-run \ |
298 --parallel-auth \ | 299 --parallel-auth \ |
299 --scroll-pixels=4 \ | 300 --scroll-pixels=4 \ |
300 --reload-killed-tabs \ | 301 --reload-killed-tabs \ |
301 --user-data-dir="$DATA_DIR" \ | 302 --user-data-dir="$DATA_DIR" \ |
302 "$REGISTER_PLUGINS" \ | 303 "$REGISTER_PLUGINS" \ |
303 "$TOUCH_DEVICES" \ | 304 "$TOUCH_DEVICES" \ |
304 ${ACCELERATED_FLAGS} \ | 305 ${ACCELERATED_FLAGS} \ |
305 ${SCREENSAVER_FLAG} \ | 306 ${SCREENSAVER_FLAG} \ |
306 ${SKIP_OOBE} \ | 307 ${SKIP_OOBE} \ |
307 -- "$WM_SCRIPT" | 308 -- "$WM_SCRIPT" |
OLD | NEW |