mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
a863b54099
People can't blindly use pool.ntp.org, especially if they are building
for a product or something that could be used in a product, so at least
try to get people to do the right thing and not use pool.ntp.org by
default.
The previous network interface up script is now installed as
ntpdate-sync in ${bindir} (and symlinked as the network if-up script).
NTPSERVERS needs to be set in /etc/default/ntpdate.default at runtime,
or a different version of this file with a default value can be provided
in a bbappend. (If you intend to use ntpd you will also want to provide
an ntp.conf with the appropriate server(s) set there as well.)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
15 lines
570 B
Plaintext
15 lines
570 B
Plaintext
# 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 time.server.example.com
|
|
# 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
|