projects
/
wyse_ntpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7a59a1b
)
new startup
author
Paul J R
<me@pjr.cc>
Sat, 7 Sep 2013 15:42:09 +0000 (
01:42
+1000)
committer
Paul 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
patch
|
blob
|
history
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
(executable)
--- 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