forked from freifunk-franken/firmware
20 lines
265 B
Plaintext
20 lines
265 B
Plaintext
|
WANDEV=eth0
|
||
|
SWITCHDEV=eth1
|
||
|
WAN_PORTS=
|
||
|
|
||
|
ETHMESHMAC=eth1
|
||
|
ROUTERMAC=eth0
|
||
|
|
||
|
. /etc/network.mode
|
||
|
|
||
|
if [ "$ETHMODE" = "CLIENT" ] ; then
|
||
|
## Activate Client:
|
||
|
CLIENT_PORTS="1 0t"
|
||
|
BATMAN_PORTS="0t"
|
||
|
else
|
||
|
## Activate BATMAN:
|
||
|
BATMAN_PORTS="1 0t"
|
||
|
CLIENT_PORTS="0t"
|
||
|
fi
|
||
|
|