From b4d8bfa0dd853da90f0f3bf27879d42638c57405 Mon Sep 17 00:00:00 2001 From: Luca Filipozzi Date: Fri, 17 Jan 2014 01:19:49 +0000 Subject: [PATCH] modifying ud-replicate to support rtcPassword deployment --- ud-replicate | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ud-replicate b/ud-replicate index 80f6938..893c791 100755 --- a/ud-replicate +++ b/ud-replicate @@ -183,3 +183,9 @@ fi if [ "${rebuild_zones}" -gt 0 ]; then sudo -u dnsadm /srv/dns.debian.org/bin/update fi + +if [ -d "/etc/freeradius" -a -e "$HOST/rtc-passwords" ]; then + install -o root -g freerad -m 440 $HOST/rtc-passwords /var/local/rtc-passwords + service freeradius reload + service resiprocate-turn-server reload +fi -- 2.20.1