network config: ignore nonexistant interfaces

SVN-Revision: 6819
v19.07.3_mercusys_ac12_duma
Felix Fietkau 17 years ago
parent 64a525eddb
commit 478ee4a135

@ -84,6 +84,7 @@ prepare_interface() {
# Setup VLAN interfaces
add_vlan "$iface"
ifconfig "$iface" 2>/dev/null >/dev/null || return 0
# Setup bridging
config_get iftype "$config" type

Loading…
Cancel
Save