create cgi script after rrd archives
authorNicolas Thill <nico@openwrt.org>
Wed, 17 Aug 2005 07:29:10 +0000 (07:29 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 17 Aug 2005 07:29:10 +0000 (07:29 +0000)
SVN-Revision: 1686

openwrt/package/rrdcollect/files/rrdcollect.init

index 7bcd1e9335b55e7e33fed030bc435c8978274385..f9ee8bcaabd3b5579bc188d48e4c5eee11226ea9 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)