X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bca2557f1968c426190b72e040bce65ce16c9884..d4aba41503ffb5c40681d74b76732668e8c8b064:/openwrt/package/rrdcollect/files/rrdcollect.init?ds=sidebyside diff --git a/openwrt/package/rrdcollect/files/rrdcollect.init b/openwrt/package/rrdcollect/files/rrdcollect.init index a6089ba16..f9ee8bcaa 100644 --- a/openwrt/package/rrdcollect/files/rrdcollect.init +++ b/openwrt/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)