]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
unbound-dhcp-leases-bridge: Only reload if leases have actually changed
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Apr 2024 15:01:16 +0000 (17:01 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Apr 2024 15:01:16 +0000 (17:01 +0200)
commit47725774c35b8f5fdafee109815141c0cc0eba10
tree76385154bb106b1474fafdba1c85ecc179ea757c
parent11915ecdebdebce259ad653779cad2468b98fb15
unbound-dhcp-leases-bridge: Only reload if leases have actually changed

This patches changes that leases will always be written in
alphanumerical order so that we can later compare the newly generated
file with the previous version. If it has not changed, we skip reload
Unbound.

Suggested-by: Nick Howitt <nick@howitts.co.uk>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/unbound/unbound-dhcp-leases-bridge