From: Paul J R Date: Mon, 2 Dec 2013 10:04:21 +0000 (+1100) Subject: small change X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=ae309dc2a7f0054a2878cb47dcd8451f2399d0b2;p=wyse_ntpd.git small change --- diff --git a/src/buildroot-2013.05/custom/filesystem/etc/init.d/S99final_sequence b/src/buildroot-2013.05/custom/filesystem/etc/init.d/S99final_sequence index d9e113e..7b64ec2 100755 --- a/src/buildroot-2013.05/custom/filesystem/etc/init.d/S99final_sequence +++ b/src/buildroot-2013.05/custom/filesystem/etc/init.d/S99final_sequence @@ -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