aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-04 09:07:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-04 09:07:14 +0000
commit04131c7d0a36576709d1e848dec33c6b9b9e0b61 (patch)
treef842ec68f347bf1e0cffbc53fa10a13d0b81750b
parent7cdb37185f97c6a4d416e389bc6a0d685ca216e4 (diff)
downloadpfsense-packages-04131c7d0a36576709d1e848dec33c6b9b9e0b61.tar.gz
pfsense-packages-04131c7d0a36576709d1e848dec33c6b9b9e0b61.tar.bz2
pfsense-packages-04131c7d0a36576709d1e848dec33c6b9b9e0b61.zip
General cleanups
-rw-r--r--packages/bandwidthd/bandwidthd.inc5
-rw-r--r--packages/bandwidthd/bandwidthd.xml6
2 files changed, 10 insertions, 1 deletions
diff --git a/packages/bandwidthd/bandwidthd.inc b/packages/bandwidthd/bandwidthd.inc
index 26758622..208edabb 100644
--- a/packages/bandwidthd/bandwidthd.inc
+++ b/packages/bandwidthd/bandwidthd.inc
@@ -32,6 +32,7 @@ function bandwidthd_install_deinstall() {
exec("cd /var/db/pkg/ && pkg_delete `ls | grep bandwidthd`");
exec("rm /usr/local/etc/rc.d/bandwidthd*");
exec("rm -rf /usr/local/bandwidthd*");
+ exec("rm /usr/local/www/bandwidthd");
}
function bandwidthd_install_config() {
@@ -158,6 +159,10 @@ EOF;
)
);
+ exec("ln -s /usr/local/www/bandwidthd /usr/local/bandwidthd/htdocs");
+
}
+
+
?> \ No newline at end of file
diff --git a/packages/bandwidthd/bandwidthd.xml b/packages/bandwidthd/bandwidthd.xml
index 76be91e4..80873cc5 100644
--- a/packages/bandwidthd/bandwidthd.xml
+++ b/packages/bandwidthd/bandwidthd.xml
@@ -8,7 +8,7 @@
<name>BandwidthD</name>
<tooltiptext></tooltiptext>
<section>Services</section>
- <url>http://$myurl:3000</url>
+ <url>/bandwidthd</url>
</menu>
<tabs>
<tab>
@@ -16,6 +16,10 @@
<url>/pkg_edit.php?xml=bandwidthd.xml&amp;id=0</url>
<active/>
</tab>
+ <tab>
+ <text>Access BandwidthD</text>
+ <url>/bandwidthd</url>
+ </tab>
</tabs>
<service>
<name>bandwidthd</name>