From b4144b396a54fe8ded73dbe8509a6c05bd41ff61 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 26 Jul 2009 11:39:11 +0000 Subject: [PATCH] [package] fix chrony options loading, bump release number (#5579) SVN-Revision: 17005 --- net/chrony/Makefile | 4 ++-- net/chrony/files/ntpd.init | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/chrony/Makefile b/net/chrony/Makefile index 96b0e0c923..0c3c494ff3 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2008 OpenWrt.org +# Copyright (C) 2006-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=chrony PKG_VERSION:=1.23 -PKG_RELEASE:=2 +PKG_RELEASE:=3 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 db8992db5a..dae0184daa 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 $CONFIG_SECTION TimeServers + config_get CLIENT_NETWORKS $CONFIG_SECTION ClientAccessFrom CHRONY_KEY=$(awk '/^1 / { print $2; }' /etc/chrony/chrony.keys) include /lib/network scan_interfaces -- 2.30.2