diff options
author | Zach Lowry <zach@mcs.anl.gov> | 2005-07-15 16:13:42 +0000 |
---|---|---|
committer | Zach Lowry <zach@mcs.anl.gov> | 2005-07-15 16:13:42 +0000 |
commit | e92cd59a4c5da1e95612097cf2a5ebe94c1d65b1 (patch) | |
tree | 39edab0ce58c94515d11277e5305e63104fc86a3 /gentoo/files/bcfg2-client | |
parent | f75393e57c1cda3b19ca78bfdb622fca3783803e (diff) | |
download | bcfg2-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-client | 26 |
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 +} |