Skip to content
Snippets Groups Projects
Commit c45c0a1d authored by Miroslav Lichvar's avatar Miroslav Lichvar
Browse files

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: default avatarMiroslav Lichvar <mlichvar0@gmail.com>
parent b033c0dc
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ...@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=chrony PKG_NAME:=chrony
PKG_VERSION:=4.1 PKG_VERSION:=4.1
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://download.tuxfamily.org/chrony/ PKG_SOURCE_URL:=https://download.tuxfamily.org/chrony/
......
...@@ -17,6 +17,7 @@ fi ...@@ -17,6 +17,7 @@ fi
[ "$ACTION" = ifup ] || exit 0 [ "$ACTION" = ifup ] || exit 0
. /lib/functions.sh . /lib/functions.sh
. /lib/functions/network.sh
. /etc/init.d/chronyd . /etc/init.d/chronyd
config_load chrony config_load chrony
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment