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

Unified Diff: factory.conf

Issue 6667059: Initial contents for the new factory_test repo (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/factory_test.git@master
Patch Set: Re-upload after repository rename Created 9 years, 9 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 | « LICENSE ('k') | factorylog.conf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: factory.conf
diff --git a/factory.conf b/factory.conf
new file mode 100644
index 0000000000000000000000000000000000000000..9d9826a7505e207baea6369cc4daab6d1e06ae77
--- /dev/null
+++ b/factory.conf
@@ -0,0 +1,29 @@
+# Copyright (c) 2011 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"
+
+start on stopped udev-addon
+stop on starting halt or starting reboot
+
+script
+ modprobe i2c-dev
+ cd /usr/local/autotest
+ eval $(./site_tests/suite_Factory/startx.sh)
+ date >>/var/log/factory.log
+ if [ ! -e factory_started ]; then
+ touch factory_started
+ cp -f site_tests/suite_Factory/control .
+ OPT=""
+ else
+ OPT="-c"
+ fi
+ ./bin/autotest -t factory $OPT control >>/var/log/factory.log 2>&1
+end script
+
+pre-stop script
+ pkill python
+ pkill X
+end script
« no previous file with comments | « LICENSE ('k') | factorylog.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698