aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-04 19:22:03 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-04 19:22:03 +0000
commit58799594c9d848601bfdb9168601d7abf6f518ff (patch)
treeb6830ef83785e774b14e23fabaf5b4819a6ac4cb
parent98f86f5e56a0cfedecd465dfd6fe0b6cbc7c1868 (diff)
downloadpfsense-packages-58799594c9d848601bfdb9168601d7abf6f518ff.tar.gz
pfsense-packages-58799594c9d848601bfdb9168601d7abf6f518ff.tar.bz2
pfsense-packages-58799594c9d848601bfdb9168601d7abf6f518ff.zip
Blow away previous symlink to ensure that it is correct
-rw-r--r--packages/bandwidthd/bandwidthd.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/bandwidthd/bandwidthd.inc b/packages/bandwidthd/bandwidthd.inc
index 34dfa957..a70b9eb3 100644
--- a/packages/bandwidthd/bandwidthd.inc
+++ b/packages/bandwidthd/bandwidthd.inc
@@ -158,12 +158,11 @@ EOF;
)
);
+ exec("rm /usr/local/www/bandwidthd");
exec("/bin/ln -s /usr/local/bandwidthd/htdocs /usr/local/www/bandwidthd");
exec("echo \"Please start bandwidthd to populate this directory.\" > /usr/local/bandwidthd/htdocs/index.html");
}
-
-
?> \ No newline at end of file