Uninstall avahi for non mesh variants
This commit is contained in:
parent
e8c5b0d4e5
commit
39e2c92543
|
@ -1654,6 +1654,9 @@ function configure_avahi {
|
||||||
fi
|
fi
|
||||||
# only enable avahi if we're doing mesh networking
|
# only enable avahi if we're doing mesh networking
|
||||||
if [[ $ENABLE_BABEL != "yes" && $ENABLE_BATMAN != "yes" && $ENABLE_CJDNS != "yes" ]]; then
|
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
|
return
|
||||||
fi
|
fi
|
||||||
apt-get -y install avahi-utils avahi-autoipd avahi-dnsconfd
|
apt-get -y install avahi-utils avahi-autoipd avahi-dnsconfd
|
||||||
|
|
Loading…
Reference in New Issue