From 04131c7d0a36576709d1e848dec33c6b9b9e0b61 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 4 Feb 2007 09:07:14 +0000 Subject: General cleanups --- packages/bandwidthd/bandwidthd.inc | 5 +++++ packages/bandwidthd/bandwidthd.xml | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'packages/bandwidthd') 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 @@ BandwidthD
Services
- http://$myurl:3000 + /bandwidthd @@ -16,6 +16,10 @@ /pkg_edit.php?xml=bandwidthd.xml&id=0 + + Access BandwidthD + /bandwidthd + bandwidthd -- cgit v1.2.3