From: Felix Fietkau Date: Mon, 2 Apr 2007 09:41:56 +0000 (+0000) Subject: network config: ignore nonexistant interfaces X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=478ee4a13518b4966ee0d4dc52ed9db667c30df1;p=openwrt%2Fstaging%2Fjow.git network config: ignore nonexistant interfaces SVN-Revision: 6819 --- diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index cab2e06f0e..eee72c0cde 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -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