mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-05 14:09:31 +01:00
handle missing wan_ifname
SVN-Revision: 87
This commit is contained in:
parent
8d8f855860
commit
a33ddbdadc
@ -44,3 +44,8 @@ lan_proto="static"
|
||||
lan_ifname="br0"
|
||||
lan_ifnames="vlan0 vlan2 eth1 eth2 eth3"
|
||||
}
|
||||
|
||||
[ -z "$(nvram_get wan_ifname)" ] && {
|
||||
wan_ifname="vlan1"
|
||||
wan_proto="dhcp"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user