瀏覽代碼

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
 # License
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
 # This program is free software: you can redistribute it and/or modify
18
 # This program is free software: you can redistribute it and/or modify
19
 # it under the terms of the GNU Affero General Public License as published by
19
 # it under the terms of the GNU Affero General Public License as published by
248
         ifconfig $EIFACE 0.0.0.0
248
         ifconfig $EIFACE 0.0.0.0
249
         ifconfig $EIFACE up promisc
249
         ifconfig $EIFACE up promisc
250
         ifconfig $BRIDGE up
250
         ifconfig $BRIDGE up
251
-        avahi-autoipd --force-bind --daemonize --wait $BRIDGE
251
+        dhclient $BRIDGE
252
     fi
252
     fi
253
 
253
 
254
     if [ $IFACE_SECONDARY ]; then
254
     if [ $IFACE_SECONDARY ]; then