blob: 9b9403a5705be900755bc7e5fc9591d6d5906ce3 [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 "Factory installer service"
# author "chromium-os-dev@googlegroups.com"
#
# when dump-boot-stats has run, start up factory installer.
start on stopped udev-addon
script
# Upstart runs udev-addon twice, once for real, once "just in case"
# We want to only run once per boot.
if [ ! -e /tmp/.factory_install_started ]; then
touch /tmp/.factory_install_started
/usr/sbin/factory_install.sh >/dev/tty3 2>&1
fi
end script