From db1454cf48dbf4787088809973912f804db21eb4 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sat, 12 Feb 2011 19:52:48 +0000 Subject: [PATCH] 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(-) diff --git a/modules/freifunk/root/usr/sbin/ff_rdate b/modules/freifunk/root/usr/sbin/ff_rdate index 5a728f673..549293b75 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 -- 2.25.1