chrony: fix uci NTP access configuration 15909/head
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:32:16 +0000 (13:32 +0200)
commitc45c0a1d40e96db9efdb5c2137b2770c91ffbdc5
tree40c97072c65771c0b977b8c4c01b85069d073c96
parentb033c0dcda8071a748eed99254c0a4d1e117f1b6
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