aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit280a8ed1c7c44d9e4e80ef6b4735b99d10a2875c (patch)
treed6c54e0aeb9f66ed0b61a103c1e8698e20aa3b1d /package
parent385722273130036b79527e98f5ed260ccd44d7c6 (diff)
downloadupstream-280a8ed1c7c44d9e4e80ef6b4735b99d10a2875c.tar.gz
upstream-280a8ed1c7c44d9e4e80ef6b4735b99d10a2875c.tar.bz2
upstream-280a8ed1c7c44d9e4e80ef6b4735b99d10a2875c.zip
fix rrd.cgi and rrd archives creation (thanks Olliver for reporting)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1685 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/rrdcollect/files/rrd.conf2
-rw-r--r--package/rrdcollect/files/rrdcollect.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/rrdcollect/files/rrd.conf b/package/rrdcollect/files/rrd.conf
index d47b71a2a8..4ee13ce94f 100644
--- a/package/rrdcollect/files/rrd.conf
+++ b/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/package/rrdcollect/files/rrdcollect.init b/package/rrdcollect/files/rrdcollect.init
index a6089ba16d..7bcd1e9335 100644
--- a/package/rrdcollect/files/rrdcollect.init
+++ b/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)