mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 05:47:13 +08:00
23 lines
732 B
Plaintext
23 lines
732 B
Plaintext
# With the default settings below, ntpd will only synchronize your clock.
|
|
#
|
|
# For details, see:
|
|
# - the ntp.conf man page
|
|
# - http://support.ntp.org/bin/view/Support/GettingStarted
|
|
# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
|
|
|
|
# Select three geolocalized NTP public servers; see http://www.pool.ntp.org/
|
|
server 0.pool.ntp.org
|
|
server 1.pool.ntp.org
|
|
server 2.pool.ntp.org
|
|
|
|
# Only allow read-only access from localhost
|
|
restrict default noquery nopeer
|
|
restrict 127.0.0.1
|
|
restrict ::1
|
|
|
|
# Location of drift and log files
|
|
driftfile /var/lib/ntp/ntp.drift
|
|
|
|
# NOTE: If you run dhcpcd and have lines like 'restrict' and 'fudge' appearing
|
|
# here, be sure to add '-Y -N' to the dhcpcd_ethX variables in /etc/conf.d/net
|