blob: 082954deaebcb3865a9fd7070cc6d6a56b7aa490 [file] [log] [blame]
# 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 --yes
# shut down and power off the device (with 1 minute delay)
shutdown -h +1
end script
console output