network config: ignore nonexistant interfaces

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6819 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2007-04-02 09:41:56 +00:00
parent 51a8ac3cd9
commit 89fb2b680e
1 changed files with 1 additions and 0 deletions

View File

@ -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