projects
/
wyse_ntpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
moved reboot and restart stuff to shell script daemons
[wyse_ntpd.git]
/
src
/
buildroot-2013.05
/
custom
/
filesystem
/
opt
/
stats_daemon.sh
diff --git a/src/buildroot-2013.05/custom/filesystem/opt/stats_daemon.sh
b/src/buildroot-2013.05/custom/filesystem/opt/stats_daemon.sh
new file mode 100755
(executable)
index 0000000..
ab35d57
--- /dev/null
+++ b/
src/buildroot-2013.05/custom/filesystem/opt/stats_daemon.sh
@@ -0,0
+1,8
@@
+#!/bin/sh
+
+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