From dde03a9048a90431a045e3ea96fefac2fd83f9d7 Mon Sep 17 00:00:00 2001 From: Travis Kemen Date: Fri, 16 May 2008 17:50:38 +0000 Subject: [PATCH] fix a bug and a typo SVN-Revision: 11151 --- utils/bandwidthd/files/bandwidthd.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/bandwidthd/files/bandwidthd.init b/utils/bandwidthd/files/bandwidthd.init index 7ba88076e..770d9c05f 100644 --- 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/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 } -- 2.30.2