aboutsummaryrefslogtreecommitdiffstats
path: root/packages/bandwidthd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-04 15:08:47 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-04 15:08:47 +0000
commit34103b3852cb34487ced5003ab3132922464ddac (patch)
treefd473862efc2259a19e793bb1e6de6bfb115455b /packages/bandwidthd
parentca1eb77073312b9f9b2d3a32f10610ed36bdf7b6 (diff)
downloadpfsense-packages-34103b3852cb34487ced5003ab3132922464ddac.tar.gz
pfsense-packages-34103b3852cb34487ced5003ab3132922464ddac.tar.bz2
pfsense-packages-34103b3852cb34487ced5003ab3132922464ddac.zip
Set index.html to a nice welcome string to inform the user to start the service to populate the directory.
Diffstat (limited to 'packages/bandwidthd')
-rw-r--r--packages/bandwidthd/bandwidthd.inc2
-rw-r--r--packages/bandwidthd/bandwidthd.xml2
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/bandwidthd/bandwidthd.inc b/packages/bandwidthd/bandwidthd.inc
index 208edabb..0af1309d 100644
--- a/packages/bandwidthd/bandwidthd.inc
+++ b/packages/bandwidthd/bandwidthd.inc
@@ -161,6 +161,8 @@ EOF;
exec("ln -s /usr/local/www/bandwidthd /usr/local/bandwidthd/htdocs");
+ exec("echo \"Please start bandwidthd to populate this directory.\" > /usr/local/bandwidthd/htdocs/index.html");
+
}
diff --git a/packages/bandwidthd/bandwidthd.xml b/packages/bandwidthd/bandwidthd.xml
index 80873cc5..9be55ef5 100644
--- a/packages/bandwidthd/bandwidthd.xml
+++ b/packages/bandwidthd/bandwidthd.xml
@@ -25,7 +25,7 @@
<name>bandwidthd</name>
<rcfile>bandwidthd.sh</rcfile>
<executable>bandwidthd</executable>
- </service>
+ </service>
<aftersaveredirect>/pkg_edit.php?xml=bandwidthd.xml&amp;id=0</aftersaveredirect>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>