summaryrefslogtreecommitdiffstats
path: root/gentoo/files/bcfg2-client
diff options
context:
space:
mode:
authorZach Lowry <zach@mcs.anl.gov>2005-07-15 16:13:42 +0000
committerZach Lowry <zach@mcs.anl.gov>2005-07-15 16:13:42 +0000
commite92cd59a4c5da1e95612097cf2a5ebe94c1d65b1 (patch)
tree39edab0ce58c94515d11277e5305e63104fc86a3 /gentoo/files/bcfg2-client
parentf75393e57c1cda3b19ca78bfdb622fca3783803e (diff)
downloadbcfg2-e92cd59a4c5da1e95612097cf2a5ebe94c1d65b1.tar.gz
bcfg2-e92cd59a4c5da1e95612097cf2a5ebe94c1d65b1.tar.bz2
bcfg2-e92cd59a4c5da1e95612097cf2a5ebe94c1d65b1.zip
(Logical change 1.268)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1090 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'gentoo/files/bcfg2-client')
-rw-r--r--gentoo/files/bcfg2-client26
1 files changed, 26 insertions, 0 deletions
diff --git a/gentoo/files/bcfg2-client b/gentoo/files/bcfg2-client
index e69de29bb..1d903c737 100644
--- a/gentoo/files/bcfg2-client
+++ b/gentoo/files/bcfg2-client
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+#
+# bcfg - bcfg configuration client
+#
+#
+
+depend () {
+ need net
+}
+
+start () {
+ ebegin "Starting bcfg"
+ if [ -e /etc/bcfg.dont_run ]; then
+ einfo "bcfg does not need to run"
+ eend 0
+ else
+ start-stop-daemon --start --quiet \
+ --startas /usr/sbin/bcfg.py -- -q -s
+ eend $? "Failed to start bcfg"
+ fi
+}
+stop () {
+ ebegin "Stopping bcfg"
+ /bin/true
+ eend 0
+}