new startup
authorPaul J R <me@pjr.cc>
Sat, 7 Sep 2013 15:42:09 +0000 (01:42 +1000)
committerPaul J R <me@pjr.cc>
Sat, 7 Sep 2013 15:42:09 +0000 (01:42 +1000)
src/buildroot-2013.05/custom/filesystem/etc/init.d/S99final_sequence

index f391ed0..dab5a72 100755 (executable)
@@ -30,5 +30,5 @@ then
        cldate=`date '+%d.%m.%Y'`
        touch /var/www/data/ntp.log.$cldate
 
-       (while(true); do ntpq -c lpe -n >> /var/www/data/ntp.log.*; sleep 30; done)
+       (while(true); do date '+%s' >> /var/www/data/ntp.log.$cldate; ntpq -c lpe -n >> /var/www/data/ntp.log.$cldate; sleep 30; done) &
 fi