Use dhclient for ethernet mesh bridge

This commit is contained in:
Bob Mottram 2017-09-29 13:31:09 +01:00
parent 057c1389cc
commit 5ea411c113
1 changed files with 2 additions and 2 deletions

View File

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