Don't create onion avahi entries for mesh installs

This commit is contained in:
Bob Mottram 2015-12-31 13:04:32 +00:00
parent 806175237b
commit f686f891fc
1 changed files with 3 additions and 0 deletions

View File

@ -1244,6 +1244,9 @@ function set_default_onion_domains {
}
function create_avahi_onion_domains {
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
return
fi
if [ $OWNCLOUD_DOMAIN_NAME ]; then
echo '<?xml version="1.0" standalone="no"?><!--*-nxml-*-->' > /etc/avahi/services/owncloud.service
echo '<!DOCTYPE service-group SYSTEM "avahi-service.dtd">' >> /etc/avahi/services/owncloud.service