Browse Source
Merge pull request #15908 from mlichvar/chrony-fix-uci-allow
chrony: fix uci NTP access configuration
lilik-openwrt-22.03
Rosen Penev
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
net/chrony/Makefile
-
net/chrony/files/chrony.hotplug
|
@ -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 |
|
|
[ "$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 |
|
|