aboutsummaryrefslogtreecommitdiff
path: root/net/chrony/files/chrony.hotplug
Commit message (Collapse)AuthorAge
* chrony: fix uci NTP access configurationMiroslav Lichvar2021-06-19
| | | | | | | | | The chrony interface hotplug script reuses the handle_allow function from the init script to allow NTP access on interfaces specified in uci. The function requires /lib/functions/network.sh. Include the file in the hotplug script to make the function work as expected. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: improve hotplug scriptMiroslav Lichvar2020-10-30
| | | | | | | | | | | | | - Use the chronyc onoffline command to update state of all sources per current routing configuration - Don't ignore the "ifupdate" action - Add NTP servers from DHCP for the interface that went up instead of the wan4+wan6 interfaces - Save the servers to files loaded by the sourcedir directive to not lose them when chronyd is restarted, and remove them when the interface goes down Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: improve hotplug and init scriptsMiroslav Lichvar2015-11-14
| | | | | | | | | | | | | | - 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>
* chrony: update to 2.2Miroslav Lichvar2015-10-20
| | | | | | | Support for authentication with command key was replaced with communication over Unix domain socket. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: import from oldpackagesMiroslav Lichvar2015-10-13
Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>