mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-05 02:29:28 +00:00
don't override wan_ifname, if it's correct (eg. pppoe)
SVN-Revision: 479
This commit is contained in:
parent
75cfa31127
commit
aaa599667a
@ -65,7 +65,9 @@ NVRAM_lan_proto="static"
|
||||
NVRAM_vlan0hwname="et0"
|
||||
NVRAM_vlan1hwname="et0"
|
||||
NVRAM_lan_ifnames="vlan0 eth1"
|
||||
NVRAM_wan_ifname="vlan1"
|
||||
[ "$(nvram get wan_ifname)" = "eth0.1" ] && {
|
||||
NVRAM_wan_ifname="vlan1"
|
||||
}
|
||||
}
|
||||
|
||||
# defaults if lan_ifname is missing
|
||||
|
Loading…
x
Reference in New Issue
Block a user