aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntp/files/ntp.conf
diff options
context:
space:
mode:
authorMorgan Little <morgan.little@windriver.com>2012-10-23 16:20:18 +0000
committerJoe MacDonald <joe.macdonald@windriver.com>2012-10-25 12:16:20 -0400
commit0dbda720a33ab8062a761f59f8fa51ffaeb3c19a (patch)
tree678e22e94e33e2bedcf6f3d96d47190bc0eeb806 /meta-networking/recipes-support/ntp/files/ntp.conf
parent55855cd569fbff7182974ca08b1de8435bf0f597 (diff)
downloadmeta-openembedded-contrib-0dbda720a33ab8062a761f59f8fa51ffaeb3c19a.tar.gz
ntp: Move from meta-oe to meta-networking
Signed-off-by: Morgan Little <morgan.little@windriver.com>
Diffstat (limited to 'meta-networking/recipes-support/ntp/files/ntp.conf')
-rw-r--r--meta-networking/recipes-support/ntp/files/ntp.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ntp/files/ntp.conf b/meta-networking/recipes-support/ntp/files/ntp.conf
new file mode 100644
index 0000000000..bf52440ced
--- /dev/null
+++ b/meta-networking/recipes-support/ntp/files/ntp.conf
@@ -0,0 +1,14 @@
+# This is the most basic ntp configuration file
+# The driftfile must remain in a place specific to this
+# machine - it records the machine specific clock error
+driftfile /etc/ntp.drift
+# This obtains a random server which will be close
+# (in IP terms) to the machine. Add other servers
+# as required, or change this.
+server pool.ntp.org
+# Using local hardware clock as fallback
+# Disable this when using ntpd -q -g -x as ntpdate or it will sync to itself
+server 127.127.1.0
+fudge 127.127.1.0 stratum 14
+# Defining a default security setting
+restrict default