Use dhclient for ethernet mesh bridge
This commit is contained in:
parent
057c1389cc
commit
5ea411c113
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue