aboutsummaryrefslogtreecommitdiffstats
path: root/packages/bandwidthd
diff options
context:
space:
mode:
Diffstat (limited to 'packages/bandwidthd')
-rw-r--r--packages/bandwidthd/bandwidthd.inc10
-rw-r--r--packages/bandwidthd/bandwidthd.xml6
2 files changed, 8 insertions, 8 deletions
diff --git a/packages/bandwidthd/bandwidthd.inc b/packages/bandwidthd/bandwidthd.inc
index 45ddb457..4757c7a2 100644
--- a/packages/bandwidthd/bandwidthd.inc
+++ b/packages/bandwidthd/bandwidthd.inc
@@ -30,7 +30,7 @@
function bandwidthd_install_config() {
- $meta_refresh = $config['installedpackages']['bandwidthd']['config'][0]['meta_refresh'];
+ $meta_refresh = $config['installedpackages']['bandwidthd']['config'][0]['metarefresh'];
if($meta_refresh)
$meta_refresh = "meta_refresh $meta_refresh\n";
$graph = $config['installedpackages']['bandwidthd']['config'][0]['graph'];
@@ -39,19 +39,19 @@ function bandwidthd_install_config() {
$filter = $config['installedpackages']['bandwidthd']['config'][0]['filter'];
if($filter)
$filter = "filter $meta_refresh\n";
- $recover_cdf = $config['installedpackages']['bandwidthd']['config'][0]['recover_cdf'];
+ $recover_cdf = $config['installedpackages']['bandwidthd']['config'][0]['recovercdf'];
if($recover_cdf)
$recover_cdf = "recover_cdf $meta_refresh\n";
- $output_cdf = $config['installedpackages']['bandwidthd']['config'][0]['output_cdf'];
+ $output_cdf = $config['installedpackages']['bandwidthd']['config'][0]['outputcdf'];
if($output_cdf)
$output_cdf = "output_cdf $meta_refresh\n";
$promiscuous = $config['installedpackages']['bandwidthd']['config'][0]['promiscuous'];
if($promiscuous)
$promiscuous = "promiscuous $meta_refresh\n";
- $graph_cutoff = $config['installedpackages']['bandwidthd']['config'][0]['graph_cutoff'];
+ $graph_cutoff = $config['installedpackages']['bandwidthd']['config'][0]['graphcutoff'];
if($graph_cutoff)
$graph_cutoff = "graph_cutoff $meta_refresh\n";
- $skip_intervals = $config['installedpackages']['bandwidthd']['config'][0]['skip_intervals'];
+ $skip_intervals = $config['installedpackages']['bandwidthd']['config'][0]['skipintervals'];
if($skip_intervals)
$skip_intervals = "skip_intervals $meta_refresh\n";
diff --git a/packages/bandwidthd/bandwidthd.xml b/packages/bandwidthd/bandwidthd.xml
index c74902ce..d102f19a 100644
--- a/packages/bandwidthd/bandwidthd.xml
+++ b/packages/bandwidthd/bandwidthd.xml
@@ -5,7 +5,7 @@
<configpath>installedpackages->package->bandwidthd</configpath>
<title>Bandwidthd</title>
<menu>
- <name>Bandwidthd</name>
+ <name>BandwidthD</name>
<tooltiptext></tooltiptext>
<section>Services</section>
<url>http://$myurl:3000</url>
@@ -53,13 +53,13 @@
<type>checkbox</type>
</field>
<field>
- <fieldname>output_cdf</fieldname>
+ <fieldname>outputcdf</fieldname>
<fielddescr>output_cdf</fielddescr>
<description>Log data to cdf file htdocs/log.cdf</description>
<type>checkbox</type>
</field>
<field>
- <fieldname>recover_cdf</fieldname>
+ <fieldname>recovercdf</fieldname>
<fielddescr>recover_cdf</fielddescr>
<description>Read back the cdf file on startup</description>
<type>checkbox</type>