mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 16:04:42 +02:00
handle missing wan_ifname
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@87 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f9d657cb5c
commit
95ee189127
@ -44,3 +44,8 @@ lan_proto="static"
|
|||||||
lan_ifname="br0"
|
lan_ifname="br0"
|
||||||
lan_ifnames="vlan0 vlan2 eth1 eth2 eth3"
|
lan_ifnames="vlan0 vlan2 eth1 eth2 eth3"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ -z "$(nvram_get wan_ifname)" ] && {
|
||||||
|
wan_ifname="vlan1"
|
||||||
|
wan_proto="dhcp"
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user