X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-replicate;h=893c7919df003b46c05282646b099324eada5f62;hb=b4d8bfa0dd853da90f0f3bf27879d42638c57405;hp=80f6938fb8996c1c1b0c9792e6d32f94623e6bce;hpb=098c17d2c2b4c1b6bb62d3a537bfafa5bc449b06;p=mirror%2Fuserdir-ldap.git 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