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