projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4731e7c
)
fix a bug and a typo
author
Travis Kemen
<thepeople@openwrt.org>
Fri, 16 May 2008 17:50:38 +0000
(17:50 +0000)
committer
Travis Kemen
<thepeople@openwrt.org>
Fri, 16 May 2008 17:50:38 +0000
(17:50 +0000)
SVN-Revision: 11151
utils/bandwidthd/files/bandwidthd.init
patch
|
blob
|
history
diff --git
a/utils/bandwidthd/files/bandwidthd.init
b/utils/bandwidthd/files/bandwidthd.init
index 7ba88076eb3c54da104b528bc19028415d9797d7..770d9c05f54ddf9a872ef6779312cf26c154b04c 100644
(file)
--- a/
utils/bandwidthd/files/bandwidthd.init
+++ b/
utils/bandwidthd/files/bandwidthd.init
@@
-14,7
+14,7
@@
config_cb() {
}
start() {
- [ -d /tmp/bandwidthd ] || mkdir -p /tmp/bandwidthd && cp /www/le
d
gend.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
}