network config: ignore nonexistant interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6819 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
51a8ac3cd9
commit
89fb2b680e
|
@ -84,6 +84,7 @@ prepare_interface() {
|
||||||
|
|
||||||
# Setup VLAN interfaces
|
# Setup VLAN interfaces
|
||||||
add_vlan "$iface"
|
add_vlan "$iface"
|
||||||
|
ifconfig "$iface" 2>/dev/null >/dev/null || return 0
|
||||||
|
|
||||||
# Setup bridging
|
# Setup bridging
|
||||||
config_get iftype "$config" type
|
config_get iftype "$config" type
|
||||||
|
|
Loading…
Reference in New Issue