From: Paul J R Date: Sat, 7 Sep 2013 15:42:09 +0000 (+1000) Subject: new startup X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=32e60f7453ded83a7800853ead66cd1b8493cdb0;p=wyse_ntpd.git new startup --- 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 f391ed0..dab5a72 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 @@ -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