| Index: src/platform/recovery_installer/recovery_install.conf
|
| diff --git a/src/platform/recovery_installer/recovery_install.conf b/src/platform/recovery_installer/recovery_install.conf
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4c42ea98923cd27a2034a4bbdc96727aedb9f2f4
|
| --- /dev/null
|
| +++ b/src/platform/recovery_installer/recovery_install.conf
|
| @@ -0,0 +1,19 @@
|
| +# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +# description "Recovery installer service"
|
| +# author "chromium-os-dev@googlegroups.com"
|
| +#
|
| +# when dump-boot-stats has run, start up recovery installer.
|
| +
|
| +start on started udev
|
| +
|
| +# TODO(tgao): replace debug output and auto-shutdown with a friendly UI
|
| +script
|
| + # use "sh -x" to output extensive debug output to console for now
|
| + sh -x /usr/sbin/chromeos-install --recovery --run_as_root
|
| + # shut down and power off the device (with 1 minute delay)
|
| + shutdown -h +1
|
| +end script
|
| +console output
|
|
|