[package] install bandwidthd logo (#7794)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@23013 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2010-09-11 18:38:34 +00:00
parent 2278ff5755
commit 09ad32e9d3
3 changed files with 4 additions and 3 deletions

View File

@ -52,7 +52,7 @@ export_string() {
start() {
local subnet conffile
[ -d /tmp/bandwidthd ] || mkdir -p /tmp/bandwidthd && cp /www/legend.gif /tmp/bandwidthd/
[ -d /tmp/bandwidthd ] || mkdir -p /tmp/bandwidthd && cp /www/legend.gif /www/logo.gif /tmp/bandwidthd/
[ -e /htdocs ] || ln -s /tmp/bandwidthd /htdocs
[ -e /www/bandwidthd ] || ln -s /tmp/bandwidthd /www/bandwidthd
rm -f /tmp/bandwidthd.conf