1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 21:09:53 +02:00

network config: ignore nonexistant interfaces

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6819 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-04-02 09:41:56 +00:00
parent 508a635e89
commit 120707c71e

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