|
|
@ -302,7 +302,7 @@ uci set system.@system[0].hostname=$gateway
|
|
|
|
|
|
|
|
|
|
|
|
# Configure LAN bridge and add ethernet interfaces to the bridge
|
|
|
|
# Configure LAN bridge and add ethernet interfaces to the bridge
|
|
|
|
# uci set network.lan.ifname='eth0 eth1 wan lan1 lan2 lan3' # Add ethernet interfaces and the kitchen sink here
|
|
|
|
# uci set network.lan.ifname='eth0 eth1 wan lan1 lan2 lan3' # Add ethernet interfaces and the kitchen sink here
|
|
|
|
# uci set network.lan.type='bridge'
|
|
|
|
uci set network.lan.type='bridge'
|
|
|
|
|
|
|
|
|
|
|
|
# List of interfaces to ensure are part of the bridge
|
|
|
|
# List of interfaces to ensure are part of the bridge
|
|
|
|
declare -a interfaces_to_check=('bat0' 'eth0' 'eth1' 'lan1' 'lan2' 'wan')
|
|
|
|
declare -a interfaces_to_check=('bat0' 'eth0' 'eth1' 'lan1' 'lan2' 'wan')
|
|
|
|