Преглед на файлове

Uninstall avahi for non mesh variants

Bob Mottram преди 9 години
родител
ревизия
39e2c92543
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3
    0
      src/freedombone

+ 3
- 0
src/freedombone Целия файл

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