Don't create onion avahi entries for mesh installs
This commit is contained in:
parent
806175237b
commit
f686f891fc
|
@ -1244,6 +1244,9 @@ function set_default_onion_domains {
|
||||||
}
|
}
|
||||||
|
|
||||||
function create_avahi_onion_domains {
|
function create_avahi_onion_domains {
|
||||||
|
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
if [ $OWNCLOUD_DOMAIN_NAME ]; then
|
if [ $OWNCLOUD_DOMAIN_NAME ]; then
|
||||||
echo '<?xml version="1.0" standalone="no"?><!--*-nxml-*-->' > /etc/avahi/services/owncloud.service
|
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
|
echo '<!DOCTYPE service-group SYSTEM "avahi-service.dtd">' >> /etc/avahi/services/owncloud.service
|
||||||
|
|
Loading…
Reference in New Issue