Bladeren bron

Uninstall avahi for non mesh variants

Bob Mottram 9 jaren geleden
bovenliggende
commit
39e2c92543
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  1. 3
    0
      src/freedombone

+ 3
- 0
src/freedombone Bestand weergeven

@@ -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