aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/bandwidthd/bandwidthd.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/bandwidthd/bandwidthd.inc b/packages/bandwidthd/bandwidthd.inc
index f82d62d9..174d4140 100644
--- a/packages/bandwidthd/bandwidthd.inc
+++ b/packages/bandwidthd/bandwidthd.inc
@@ -44,25 +44,25 @@ function bandwidthd_install_config() {
$meta_refresh = "meta_refresh $meta_refresh\n";
$graph = $config['installedpackages']['bandwidthd']['config'][0]['graph'];
if($graph)
- $graph = "graph $meta_refresh\n";
+ $graph = "graph true\n";
$filter_text = $config['installedpackages']['bandwidthd']['config'][0]['filter'];
if($filter_text)
- $filter_text = "filter $meta_refresh\n";
+ $filter_text = "filter $filter_text\n";
$recover_cdf = $config['installedpackages']['bandwidthd']['config'][0]['recovercdf'];
if($recover_cdf)
- $recover_cdf = "recover_cdf $meta_refresh\n";
+ $recover_cdf = "recover_cdf $recover_cdf\n";
$output_cdf = $config['installedpackages']['bandwidthd']['config'][0]['outputcdf'];
if($output_cdf)
- $output_cdf = "output_cdf $meta_refresh\n";
+ $output_cdf = "output_cdf $output_cdf\n";
$promiscuous = $config['installedpackages']['bandwidthd']['config'][0]['promiscuous'];
if($promiscuous)
- $promiscuous = "promiscuous $meta_refresh\n";
+ $promiscuous = "promiscuous true\n";
$graph_cutoff = $config['installedpackages']['bandwidthd']['config'][0]['graphcutoff'];
if($graph_cutoff)
- $graph_cutoff = "graph_cutoff $meta_refresh\n";
+ $graph_cutoff = "graph_cutoff $graph_cutoff\n";
$skip_intervals = $config['installedpackages']['bandwidthd']['config'][0]['skipintervals'];
if($skip_intervals)
- $skip_intervals = "skip_intervals $meta_refresh\n";
+ $skip_intervals = "skip_intervals $skip_intervals\n";
/* initialize to "" */
$subnets = "";