aboutsummaryrefslogtreecommitdiffstats
path: root/packages/bandwidthd/bandwidthd.inc
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 /packages/bandwidthd/bandwidthd.inc
parent7cdb37185f97c6a4d416e389bc6a0d685ca216e4 (diff)
downloadpfsense-packages-04131c7d0a36576709d1e848dec33c6b9b9e0b61.tar.gz
pfsense-packages-04131c7d0a36576709d1e848dec33c6b9b9e0b61.tar.bz2
pfsense-packages-04131c7d0a36576709d1e848dec33c6b9b9e0b61.zip
General cleanups
Diffstat (limited to 'packages/bandwidthd/bandwidthd.inc')
-rw-r--r--packages/bandwidthd/bandwidthd.inc5
1 files changed, 5 insertions, 0 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