diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-04-25 22:01:27 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-04-25 22:01:27 +0000 |
commit | 18200fc366a26e77ab50505abf3020b23e95bfe8 (patch) | |
tree | 15bc3913a95fde226d92505c6eaac74aff249b4d /debian/bcfg2.init | |
parent | 2e63008c4830e5a91c8d680cf0e55e3faad0a87c (diff) | |
download | bcfg2-18200fc366a26e77ab50505abf3020b23e95bfe8.tar.gz bcfg2-18200fc366a26e77ab50505abf3020b23e95bfe8.tar.bz2 bcfg2-18200fc366a26e77ab50505abf3020b23e95bfe8.zip |
Derive client options from /etc/default/bcfg2 (Resolves ticket #45)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1852 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'debian/bcfg2.init')
-rw-r--r-- | debian/bcfg2.init | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/bcfg2.init b/debian/bcfg2.init index 66c62b6d3..14c80d75a 100644 --- a/debian/bcfg2.init +++ b/debian/bcfg2.init @@ -5,6 +5,8 @@ # chkconfig: 2345 19 81 # description: bcfg2 client for configuration requests # +BCFG2_OPTIONS="-nq" +test -f "/etc/default/bcfg2" ] && . /etc/default/bcfg2 case "$1" in start) @@ -13,7 +15,7 @@ case "$1" in echo "bcfg2 does not need to run." else echo -n "Running bcfg: " - /usr/sbin/bcfg2 -q + /usr/sbin/bcfg2 $BCFG2_OPTIONS echo "bcfg2" fi ;; |