From db1454cf48dbf4787088809973912f804db21eb4 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sat, 12 Feb 2011 19:52:48 +0000 Subject: modules/freifunk: change ff_rdate to use /etc/config/timeserver --- modules/freifunk/root/usr/sbin/ff_rdate | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/freifunk/root/usr/sbin') diff --git a/modules/freifunk/root/usr/sbin/ff_rdate b/modules/freifunk/root/usr/sbin/ff_rdate index 5a728f6734..549293b75e 100755 --- a/modules/freifunk/root/usr/sbin/ff_rdate +++ b/modules/freifunk/root/usr/sbin/ff_rdate @@ -6,8 +6,7 @@ uci_get_one() { done } -local servers=$(uci_get_one "network.wan.lease_timesrv" \ - "system.time.rdate_servers" "freifunk.time.rdate_servers") +local servers="$(uci_get_one 'network.wan.lease_timesrv') $(uci show timeserver |grep hostname |cut -d '=' -f 2 |tr '\n' ' ')" if [ -n "$servers" ]; then for server in $servers; do -- cgit v1.2.3