mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
netmode: remove wan6 for pppoe and static modes
This commit is contained in:
parent
9e5c376576
commit
1606a6bcd1
3 changed files with 7 additions and 2 deletions
|
|
@ -57,7 +57,10 @@ l3_network_config() {
|
|||
fi
|
||||
|
||||
uci -q set network.wan.device="$wandev"
|
||||
|
||||
uci -q set network.wan6=interface
|
||||
uci -q set network.wan6.device="$wandev"
|
||||
uci -q set network.wan6.proto="dhcpv6"
|
||||
|
||||
uci -q set network.WAN.mtu="$NETMODE_mtu"
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,8 @@ l3_network_pppoe_config() {
|
|||
fi
|
||||
|
||||
uci -q set network.wan.device="$wandev"
|
||||
uci -q set network.wan6.device="$wandev"
|
||||
|
||||
uci -q delete network.wan6
|
||||
|
||||
uci -q set network.WAN.mtu="$NETMODE_mtu"
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,8 @@ l3_network_config() {
|
|||
fi
|
||||
|
||||
uci -q set network.wan.device="$wandev"
|
||||
uci -q set network.wan6.device="$wandev"
|
||||
|
||||
uci -q delete network.wan6
|
||||
|
||||
uci -q set network.WAN.mtu="$NETMODE_mtu"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue