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

Unified Diff: src/platform/recovery_installer/recovery_install.conf

Issue 2081018: fix for issue 2610: (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: s/mod_image/image_type/ 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/init/chromeos_startup ('k') | src/scripts/build_image » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/platform/init/chromeos_startup ('k') | src/scripts/build_image » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698