1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 21:15:11 +02:00

fix rrd.cgi and rrd archives creation (thanks Olliver for reporting)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1685 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2005-08-15 22:03:55 +00:00
parent 4f7fc3e94c
commit 8e650d30b0
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ RRDTOOL=/usr/bin/rrdtool
# Location of rrdcgi # Location of rrdcgi
RRDCGI=/usr/bin/rrdcgi RRDCGI=/usr/bin/rrdcgi
# Location of generated cgi-script # Location of generated cgi-script
RRDCGISCRIPT=$DATA/rrd.cgi RRDCGISCRIPT=$DATADIR/rrd.cgi
# Image-Path relative to webserver-root # Image-Path relative to webserver-root
RRDCGIIMGPATH="/img" RRDCGIIMGPATH="/img"
# Location of netcat (used for fetching data from rrdcollect-daemon) # Location of netcat (used for fetching data from rrdcollect-daemon)

View File

@ -17,7 +17,7 @@ case $1 in
mkdir -p $IMG_D mkdir -p $IMG_D
mkdir -p $RRD_D mkdir -p $RRD_D
[ -x $CGI_S ] || /usr/bin/rrd.sh cgi [ -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 $BIN $OPTIONS
;; ;;
stop) stop)