fix a bug and a typo
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11151 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fc1bd010b3
commit
77b77ee265
@ -14,7 +14,7 @@ config_cb() {
|
||||
}
|
||||
|
||||
start() {
|
||||
[ -d /tmp/bandwidthd ] || mkdir -p /tmp/bandwidthd && cp /www/ledgend.gif /tmp/bandwidthd/
|
||||
[ -d /tmp/bandwidthd ] || mkdir -p /tmp/bandwidthd && cp /www/legend.gif /tmp/bandwidthd/
|
||||
[ -e /htdocs ] || ln -s /tmp/bandwidthd /htdocs
|
||||
[ -e /www/bandwidthd ] || ln -s /tmp/bandwidthd /www/bandwidthd
|
||||
rm -f /tmp/bandwidthd.conf
|
||||
@ -49,6 +49,7 @@ ${graph:+ graph $graph}
|
||||
${meta_refresh:+ meta_refresh $meta_refresh}
|
||||
EOF
|
||||
done
|
||||
cd /
|
||||
bandwidthd
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user