summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt')
-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 7bcd1e9335..f9ee8bcaab 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
- [ -x $CGI_S ] || /usr/bin/rrd.sh cgi
[ -n "$RRD_F" ] || /usr/bin/rrd.sh init
+ [ -x $CGI_S ] || /usr/bin/rrd.sh cgi
$BIN $OPTIONS
;;
stop)