X-Git-Url: http://git.pjr.cc/?p=wyse_ntpd.git;a=blobdiff_plain;f=src%2Fbuildroot-2013.05%2Fcustom%2Ffilesystem%2Fopt%2Fntp%2Fntp.conf;fp=src%2Fbuildroot-2013.05%2Fcustom%2Ffilesystem%2Fopt%2Fntp%2Fntp.conf;h=9c8ac15d7816707be0ae96c387c36af438a8559d;hp=0000000000000000000000000000000000000000;hb=8673ab6237fdfe248aca26241177187d20288900;hpb=eeccf6a8f5f4f6285e41e59846b1b5e730fb6630 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 index 0000000..9c8ac15 --- /dev/null +++ b/src/buildroot-2013.05/custom/filesystem/opt/ntp/ntp.conf @@ -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