1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Change check for multipath network applied config

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-12-11 20:10:12 +01:00
parent 3d7002f88c
commit 71f019a76a

View file

@ -137,7 +137,7 @@ uci -q set network.lan.ip4table='lan'
#uci -q set "network.lan.ip6assign=64"
# Create WAN interfaces
if [ "$(uci -q get network.wan1.multipath)" = "" ]; then
if [ "$(uci -q show network | grep multipath)" = "" ]; then
if [ "$(swconfig list 2>&1 | grep switch0)" != "" ]; then
_setup_wan_interface wan1 eth0.1 master
_setup_wan_interface wan2 eth0.2 on