summaryrefslogtreecommitdiff
path: root/openwrt/package/rrdcollect/files/rrdcollect.init
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/rrdcollect/files/rrdcollect.init')
-rw-r--r--openwrt/package/rrdcollect/files/rrdcollect.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/rrdcollect/files/rrdcollect.init b/openwrt/package/rrdcollect/files/rrdcollect.init
index a6089ba16d..7bcd1e9335 100644
--- a/openwrt/package/rrdcollect/files/rrdcollect.init
+++ b/openwrt/package/rrdcollect/files/rrdcollect.init
@@ -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)