new startup
[wyse_ntpd.git] / 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