]> git.ipfire.org Git - thirdparty/chrony.git/commit
examples: handle more actions in NM dispatcher script
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 7 Feb 2022 12:27:48 +0000 (13:27 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 7 Feb 2022 16:04:19 +0000 (17:04 +0100)
commite55f174bd3a7ae82fb24afd43443d0b55d5536cf
tree43e8c457f63b84b8759626f03b9c784633cd5243
parent5bd13c8d593a74ad168057efe94dd2b3aeeffe14
examples: handle more actions in NM dispatcher script

Run the chronyc onoffline command also when the connectivity-change
and dhcp6-change actions are reported by the NetworkManager dispatcher.

The latter should not be necessary, but there currently doesn't seem to
be any action for IPv6 becoming routable after duplicate address
detection, so at least in networks using DHCPv6, IPv6 NTP servers should
not be stuck in the offline state from a previously reported action.
examples/chrony.nm-dispatcher.onoffline