mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix wan creation
This commit is contained in:
parent
8ce202c75c
commit
8c507d9c7f
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ uci -q set network.lan.ip4table='lan'
|
||||||
#uci -q set "network.lan.ip6assign=64"
|
#uci -q set "network.lan.ip6assign=64"
|
||||||
|
|
||||||
# Create WAN interfaces
|
# Create WAN interfaces
|
||||||
if [ "$(uci -q show network.wan1 | grep multipath)" = "" ] && [ "$(uci -q show macvlan)" = "" ]; then
|
if [ "$(uci -q show network.wan1 | grep multipath)" = "" ] && [ -z "$(uci -q get network.wan1.multipath)" ]; then
|
||||||
if [ "$(swconfig list 2>&1 | grep switch0)" != "" ]; then
|
if [ "$(swconfig list 2>&1 | grep switch0)" != "" ]; then
|
||||||
_setup_wan_interface wan1 eth0.1 master
|
_setup_wan_interface wan1 eth0.1 master
|
||||||
_setup_wan_interface wan2 eth0.2 on
|
_setup_wan_interface wan2 eth0.2 on
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue