small change
authorPaul J R <me@pjr.cc>
Mon, 2 Dec 2013 10:04:21 +0000 (21:04 +1100)
committerPaul J R <me@pjr.cc>
Mon, 2 Dec 2013 10:04:21 +0000 (21:04 +1100)
src/buildroot-2013.05/custom/filesystem/etc/init.d/S99final_sequence

index d9e113e..7b64ec2 100755 (executable)
@@ -7,6 +7,9 @@ else
        mkdir -p /fs/config/
 fi
 
+mkdir /var/www/data/stats
+chmod 777 /var/www/data/stats
+
 if [ ! -f /fs/config/dropbear.tar ]
 then
        RD=`pwd`
@@ -39,4 +42,3 @@ then
        (sleep 30; while(true); do date '+%s' >> /var/www/data/ntp.log.$cldate; ntpq -c lpe -n |grep "127.127.20" >> /var/www/data/ntp.log.$cldate; sleep 30; done) &
 fi
 
-mkdir /var/www/data/stats