X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/bca2557f1968c426190b72e040bce65ce16c9884..1be4794eae857c62fb2da75e7f295d7b688130e6:/openwrt/package/rrdcollect/files/rrdcollect.init?ds=inline 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)