diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-09-01 18:06:11 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-09-01 18:06:11 +0000 |
commit | 9fa5167d655f295341a8b635b3f2ea737fde5360 (patch) | |
tree | d4efad95232af4765a897d577aee77ec5fc91a55 /tools | |
parent | a3e467705967c9bd663a934cca8f3c746d746f6f (diff) | |
download | bcfg2-9fa5167d655f295341a8b635b3f2ea737fde5360.tar.gz bcfg2-9fa5167d655f295341a8b635b3f2ea737fde5360.tar.bz2 bcfg2-9fa5167d655f295341a8b635b3f2ea737fde5360.zip |
Fix type-specific option handling code
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2166 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/bcfg2-cron | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bcfg2-cron b/tools/bcfg2-cron index d5f6d76fc..e1c4b9a6d 100755 --- a/tools/bcfg2-cron +++ b/tools/bcfg2-cron @@ -30,7 +30,8 @@ BCFG2_CFG=/etc/bcfg2.conf invoke_bcfg2 () { # Invoke bcfg2 if enabled if [ ${BCFG2_ENABLED} -eq 1 ]; then - ${BCFG2_BIN} ${BCFG2_OPTIONS} ${BCFG2_OPTIONS_${RUNTYPE}} + eval BCFG2_EXTRA_OPTIONS=\${BCFG2_OPTIONS_${RUNTYPE}} + ${BCFG2_BIN} ${BCFG2_OPTIONS} ${BCFG2_EXTRA_OPTIONS}} fi } |