move hotplug script into an extra package so that it doesn't conflict with nas
[openwrt.git] / package / rrdcollect / files / rrdcollect.init
index 7bcd1e9..f9ee8bc 100644 (file)
@@ -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)
This page took 0.020451 seconds and 4 git commands to generate.