1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-09-30 16:11:18 +02:00

network config: ignore nonexistant interfaces

SVN-Revision: 6819
This commit is contained in:
Felix Fietkau 2007-04-02 09:41:56 +00:00
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