X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/74076900909c1619e06ae12e16ffc0bc64ce958f..c3001723cbd07c232d514eec233336a1978ce159:/package/rrdcollect/files/rrdcollect.init diff --git a/package/rrdcollect/files/rrdcollect.init b/package/rrdcollect/files/rrdcollect.init index a6089ba16..f9ee8bcaa 100644 --- a/package/rrdcollect/files/rrdcollect.init +++ b/package/rrdcollect/files/rrdcollect.init @@ -16,8 +16,8 @@ case $1 in mkdir -p $RUN_D mkdir -p $IMG_D mkdir -p $RRD_D + [ -n "$RRD_F" ] || /usr/bin/rrd.sh init [ -x $CGI_S ] || /usr/bin/rrd.sh cgi - [ -n "$RRD_D" ] || /usr/bin/rrd.sh init $BIN $OPTIONS ;; stop)