diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-04 08:10:56 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-04 08:10:56 +0000 |
commit | 1631a8946a4951f8bb6a45ced6bf66ac78864bc2 (patch) | |
tree | fa66039701d1d6ebc630641e22bb7aa084aa1350 /packages/bandwidthd | |
parent | 744f72b9daf03ae97636022d5b804b6b415471a9 (diff) | |
download | pfsense-packages-1631a8946a4951f8bb6a45ced6bf66ac78864bc2.tar.gz pfsense-packages-1631a8946a4951f8bb6a45ced6bf66ac78864bc2.tar.bz2 pfsense-packages-1631a8946a4951f8bb6a45ced6bf66ac78864bc2.zip |
Remove _ from xml fieldnames
Diffstat (limited to 'packages/bandwidthd')
-rw-r--r-- | packages/bandwidthd/bandwidthd.inc | 10 | ||||
-rw-r--r-- | packages/bandwidthd/bandwidthd.xml | 6 |
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> |