Add /etc/ntpd.conf and move servers from script

pull/80/head
Igor Zalatov (from Citadel PC) 2021-12-07 16:08:54 +03:00
parent fb470a60b9
commit 19907eeaab
2 changed files with 5 additions and 1 deletions
general/overlay/etc

View File

@ -3,7 +3,7 @@
DAEMON="ntpd"
PIDFILE="/var/run/$DAEMON.pid"
NTPD_ARGS="-p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.ntp.org -p 2.openwrt.pool.ntp.org -p 3.openwrt.pool.ntp.org"
NTPD_ARGS=""
# shellcheck source=/dev/null
[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON"

View File

@ -0,0 +1,4 @@
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst