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

Fix network creation

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-12-16 18:01:18 +01:00
parent fae375a050
commit f95921ec12

View file

@ -150,7 +150,7 @@ uci -q set network.lan.ip4table='lan'
#uci -q set "network.lan.ip6assign=64"
# Create WAN interfaces
if [ "$(uci -q show network | grep multipath)" = "" ]; then
if [ "$(uci -q show network.wan1 | 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