#
-# 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.
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/ \
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