浏览代码

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