mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
chrony: improve hotplug and init scripts
- fix the init script to read the right config - rework the init script to allow reusing its code in the hotplug script - find wan interfaces in the hotplug script instead of using hardcoded name and set the online/offline status separately for IPv4/IPv6 - allow NTP access on interfaces that are configured after chronyd start - add NTP servers obtained from DHCP, options are specified in a new dhcp_ntp_server config section - start chronyd before the network service, include a patch to always have IP_FREEBIND defined, which seems to be missing with uclibc Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
This commit is contained in:
@@ -3,6 +3,9 @@ config pool
|
||||
option maxpoll '12'
|
||||
option iburst 'yes'
|
||||
|
||||
config dhcp_ntp_server
|
||||
option iburst 'yes'
|
||||
|
||||
config allow
|
||||
option interface 'lan'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user