added ntp stuff to startup and base ntp config file
[wyse_ntpd.git] / src / buildroot-2013.05 / custom / filesystem / opt / ntp / ntp.conf
diff --git a/src/buildroot-2013.05/custom/filesystem/opt/ntp/ntp.conf b/src/buildroot-2013.05/custom/filesystem/opt/ntp/ntp.conf
new file mode 100644 (file)
index 0000000..9c8ac15
--- /dev/null
@@ -0,0 +1,27 @@
+driftfile /tmp/ntp/drift
+
+statsdir /tmp/ntp/stats
+
+statistics loopstats peerstats clockstats
+filegen loopstats file loopstats type day enable
+filegen peerstats file peerstats type day enable
+filegen clockstats file clockstats type day enable
+
+server time.iinet.net.au noselect
+server 0.au.pool.ntp.org noselect
+server 1.au.pool.ntp.org noselect
+server 2.au.pool.ntp.org noselect
+server 3.au.pool.ntp.org noselect
+
+#correct ones for pps ntp 
+server 127.127.20.0 mode 24 minpoll 2 maxpoll 2 prefer
+fudge 127.127.20.0 flag1 1 flag2 0 flag3 1 refid PPS
+
+# By default, exchange time with everybody, but don't allow configuration.
+restrict -4 default kod notrap nomodify nopeer noquery
+restrict -6 default kod notrap nomodify nopeer noquery
+
+# Local users may interrogate the ntp server more closely.
+restrict 127.0.0.1
+restrict 127.0.1.1
+restrict ::1