chrony: fix uci NTP access configuration
authorMiroslav Lichvar <mlichvar0@gmail.com>
Sat, 19 Jun 2021 11:14:05 +0000 (13:14 +0200)
committerMiroslav Lichvar <mlichvar0@gmail.com>
Sat, 19 Jun 2021 11:30:09 +0000 (13:30 +0200)
commit6562287c498b29be6146514d97c83c255e96aeb1
tree8554926dcef5095e6fccfb698e5075647e9d12da
parent87072637dd4fc9e903537e12b550033c01d9fa8c
chrony: fix uci NTP access configuration

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>
net/chrony/Makefile
net/chrony/files/chrony.hotplug