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 +++++ 1 file changed, 5 insertions(+) (limited to 'packages/bandwidthd/bandwidthd.inc') 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 -- cgit v1.2.3