From 4f2f846270146743ddd7f28b7aad511838fc0d6b Mon Sep 17 00:00:00 2001
From: nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Wed, 17 Aug 2005 07:29:10 +0000
Subject: create cgi script after rrd archives

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1686 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/rrdcollect/files/rrdcollect.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/rrdcollect/files/rrdcollect.init b/package/rrdcollect/files/rrdcollect.init
index 7bcd1e933..f9ee8bcaa 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)
-- 
cgit v1.2.3