blob: 524bf75ec51c8d2ce8b157d7be076c6fa454a1f5 [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 "Inhibit update-engine for factory testing"
author "chromium-os-dev@chromium.org"
start on starting update-engine
stop on stopped update-engine
# To start update-engine regardless of the presence of factory enabled
# tag, do:
# $ start inhibit-update-engine disable_inhibit=1
# $ start update-engine
env disable_inhibit=0
pre-start script
. /usr/share/cros/factory_utils.sh
inhibit_if_factory_mode update-engine
end script