summaryrefslogtreecommitdiffstats
path: root/tools/bcfg2-cron
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bcfg2-cron')
-rwxr-xr-xtools/bcfg2-cron3
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
}