Uninstall avahi for non mesh variants

This commit is contained in:
Bob Mottram 2015-08-10 19:57:28 +01:00
parent e8c5b0d4e5
commit 39e2c92543
1 changed files with 3 additions and 0 deletions

View File

@ -1654,6 +1654,9 @@ function configure_avahi {
fi
# only enable avahi if we're doing mesh networking
if [[ $ENABLE_BABEL != "yes" && $ENABLE_BATMAN != "yes" && $ENABLE_CJDNS != "yes" ]]; then
# Ensure that avahi is not installed. We only need it for mesh networking
# Where there is no conventional DNS resolution
apt-get -y remove avahi-*
return
fi
apt-get -y install avahi-utils avahi-autoipd avahi-dnsconfd