浏览代码

Use dhclient for ethernet mesh bridge

Bob Mottram 7 年前
父节点
当前提交
5ea411c113
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone-mesh-batman

+ 2
- 2
src/freedombone-mesh-batman 查看文件

@@ -13,7 +13,7 @@
13 13
 # License
14 14
 # =======
15 15
 #
16
-# Copyright (C) 2015-2016 Bob Mottram <bob@freedombone.net>
16
+# Copyright (C) 2015-2017 Bob Mottram <bob@freedombone.net>
17 17
 #
18 18
 # This program is free software: you can redistribute it and/or modify
19 19
 # it under the terms of the GNU Affero General Public License as published by
@@ -248,7 +248,7 @@ function start {
248 248
         ifconfig $EIFACE 0.0.0.0
249 249
         ifconfig $EIFACE up promisc
250 250
         ifconfig $BRIDGE up
251
-        avahi-autoipd --force-bind --daemonize --wait $BRIDGE
251
+        dhclient $BRIDGE
252 252
     fi
253 253
 
254 254
     if [ $IFACE_SECONDARY ]; then