aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-31 12:35:26 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-31 12:35:26 +0200
commita39790dfd6fbda8af9e2f35a467db5118873c003 (patch)
tree587c669b464d47590ed9577075f6556f31417cbe
parent16629144d97afdcc17d386bf67817a5fd5008ec4 (diff)
downloadpfsense-packages-a39790dfd6fbda8af9e2f35a467db5118873c003.tar.gz
pfsense-packages-a39790dfd6fbda8af9e2f35a467db5118873c003.tar.bz2
pfsense-packages-a39790dfd6fbda8af9e2f35a467db5118873c003.zip
Fix cronjob install as well
-rw-r--r--config/bandwidthd/bandwidthd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bandwidthd/bandwidthd.inc b/config/bandwidthd/bandwidthd.inc
index 0c93c861..d7973433 100644
--- a/config/bandwidthd/bandwidthd.inc
+++ b/config/bandwidthd/bandwidthd.inc
@@ -290,7 +290,7 @@ EOD;
}
/* Cron job for graphs */
- if (($bandwidthd_config['enable']) && ($output_cdf)) {
+ if (($bandwidthd_config['enable']) && ($bandwidthd_config['outputcdf'])) {
// Use cron job to rotate logs every day at 00:01
install_cron_job("/bin/kill -HUP `cat /var/run/bandwidthd.pid`", true, "1", "0");
} else {