diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-04 19:22:03 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-04 19:22:03 +0000 |
commit | 58799594c9d848601bfdb9168601d7abf6f518ff (patch) | |
tree | b6830ef83785e774b14e23fabaf5b4819a6ac4cb /packages/bandwidthd | |
parent | 98f86f5e56a0cfedecd465dfd6fe0b6cbc7c1868 (diff) | |
download | pfsense-packages-58799594c9d848601bfdb9168601d7abf6f518ff.tar.gz pfsense-packages-58799594c9d848601bfdb9168601d7abf6f518ff.tar.bz2 pfsense-packages-58799594c9d848601bfdb9168601d7abf6f518ff.zip |
Blow away previous symlink to ensure that it is correct
Diffstat (limited to 'packages/bandwidthd')
-rw-r--r-- | packages/bandwidthd/bandwidthd.inc | 3 |
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 |