From 496a92651131cacc0d286bdbd8fef0b23ece546d Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 10 Apr 2009 13:59:00 +0000 Subject: [PATCH] merge r15139 to 8.09 (closes: #4718), bump release number SVN-Revision: 15203 --- net/chrony/Makefile | 2 +- net/chrony/files/ntpd.init | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/chrony/Makefile b/net/chrony/Makefile index 86a1c2e4d0..e07c1377bf 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=chrony PKG_VERSION:=1.23 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:= ftp://chrony.sunsite.dk/projects/chrony/ \ diff --git a/net/chrony/files/ntpd.init b/net/chrony/files/ntpd.init index dd9c9f5d8f..db8992db5a 100644 --- a/net/chrony/files/ntpd.init +++ b/net/chrony/files/ntpd.init @@ -12,8 +12,8 @@ start() { local CLIENT_NETWORKS local NETNAME config_load ntpd - config_get NTP_SERVERS cfg1 TimeServers - config_get CLIENT_NETWORKS cfg1 ClientAccessFrom + config_get NTP_SERVERS $cfg1 TimeServers + config_get CLIENT_NETWORKS $cfg1 ClientAccessFrom CHRONY_KEY=$(awk '/^1 / { print $2; }' /etc/chrony/chrony.keys) include /lib/network scan_interfaces @@ -45,7 +45,7 @@ start() { config_get INTERFACE "$NETNAME" ifname if [ -n "$INTERFACE" ] ; then eval $(ifconfig $INTERFACE | grep inet | sed -e 's/.*addr:/IP=/' -e 's/ .*Mask:/; NETMASK=/') - eval $(ipcalc $IP $NETMASK) + eval $(ipcalc.sh $IP $NETMASK) echo allow $NETWORK/$PREFIX fi done -- 2.30.2