blob: 68502ecc423a111b35f8b44e323ded9099f17de4 [file] [log] [blame]
# Copyright (c) 2013 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 "Chrome OS factory startup stub"
author "chromium-os-dev@chromium.org"
# The start/stop timing should be the same (or earlier than) to ui.conf
start on started boot-services
stop on starting pre-shutdown
pre-start script
. /usr/share/cros/factory_utils.sh
if ! is_factory_mode; then
stop
fi
end script
script
exec "/usr/local/factory/bin/goofy_control" start
end script