Pārlūkot izejas kodu

Uninstall avahi for non mesh variants

Bob Mottram 10 gadus atpakaļ
vecāks
revīzija
39e2c92543
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3
    0
      src/freedombone

+ 3
- 0
src/freedombone Parādīt failu

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