summaryrefslogtreecommitdiff
path: root/openwrt/package/rrdcollect
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-08-15 22:03:55 +0000
committerNicolas Thill <nico@openwrt.org>2005-08-15 22:03:55 +0000
commit9d58bd917d26c5dec27c4238085f6fe7ff72858f (patch)
tree2b5a6d5d34383e9479649378885dc8472547e172 /openwrt/package/rrdcollect
parent3bd35553fb6a376f9edfb22ef42c5710dc0eadfa (diff)
downloadmtk-20170518-9d58bd917d26c5dec27c4238085f6fe7ff72858f.zip
mtk-20170518-9d58bd917d26c5dec27c4238085f6fe7ff72858f.tar.gz
mtk-20170518-9d58bd917d26c5dec27c4238085f6fe7ff72858f.tar.bz2
fix rrd.cgi and rrd archives creation (thanks Olliver for reporting)
SVN-Revision: 1685
Diffstat (limited to 'openwrt/package/rrdcollect')
-rw-r--r--openwrt/package/rrdcollect/files/rrd.conf2
-rw-r--r--openwrt/package/rrdcollect/files/rrdcollect.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/rrdcollect/files/rrd.conf b/openwrt/package/rrdcollect/files/rrd.conf
index d47b71a..4ee13ce 100644
--- a/openwrt/package/rrdcollect/files/rrd.conf
+++ b/openwrt/package/rrdcollect/files/rrd.conf
@@ -16,7 +16,7 @@ RRDTOOL=/usr/bin/rrdtool
# Location of rrdcgi
RRDCGI=/usr/bin/rrdcgi
# Location of generated cgi-script
-RRDCGISCRIPT=$DATA/rrd.cgi
+RRDCGISCRIPT=$DATADIR/rrd.cgi
# Image-Path relative to webserver-root
RRDCGIIMGPATH="/img"
# Location of netcat (used for fetching data from rrdcollect-daemon)
diff --git a/openwrt/package/rrdcollect/files/rrdcollect.init b/openwrt/package/rrdcollect/files/rrdcollect.init
index a6089ba..7bcd1e9 100644
--- a/openwrt/package/rrdcollect/files/rrdcollect.init
+++ b/openwrt/package/rrdcollect/files/rrdcollect.init
@@ -17,7 +17,7 @@ case $1 in
mkdir -p $IMG_D
mkdir -p $RRD_D
[ -x $CGI_S ] || /usr/bin/rrd.sh cgi
- [ -n "$RRD_D" ] || /usr/bin/rrd.sh init
+ [ -n "$RRD_F" ] || /usr/bin/rrd.sh init
$BIN $OPTIONS
;;
stop)