mirror of https://github.com/OpenIPC/firmware.git
Add /etc/ntpd.conf and move servers from script
parent
fb470a60b9
commit
19907eeaab
|
@ -3,7 +3,7 @@
|
||||||
DAEMON="ntpd"
|
DAEMON="ntpd"
|
||||||
PIDFILE="/var/run/$DAEMON.pid"
|
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
|
# shellcheck source=/dev/null
|
||||||
[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON"
|
[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON"
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue