fix rrd.cgi and rrd archives creation (thanks Olliver for reporting)
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Aug 2005 22:03:55 +0000 (22:03 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Aug 2005 22:03:55 +0000 (22:03 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1685 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/rrdcollect/files/rrd.conf
openwrt/package/rrdcollect/files/rrdcollect.init

index d47b71a..4ee13ce 100644 (file)
@@ -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)
index a6089ba..7bcd1e9 100644 (file)
@@ -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)
This page took 0.0246 seconds and 4 git commands to generate.