X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-replicate;h=893c7919df003b46c05282646b099324eada5f62;hb=b4d8bfa0dd853da90f0f3bf27879d42638c57405;hp=ef76ceafee8fc0c02adc3b4bcce1ec8b9445f5ea;hpb=df5edce3e3c58b0323d35db9d14d36f2d5328636;p=mirror%2Fuserdir-ldap.git diff --git a/ud-replicate b/ud-replicate index ef76cea..893c791 100755 --- a/ud-replicate +++ b/ud-replicate @@ -181,5 +181,11 @@ if [ -e /var/lib/misc/thishost/dns-zone ]; then fi if [ "${rebuild_zones}" -gt 0 ]; then - sudo -u dnsadm /srv/dns.debian.org/bin/update-zones + 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