projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51a8ac3
)
network config: ignore nonexistant interfaces
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 2 Apr 2007 09:41:56 +0000
(09:41 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 2 Apr 2007 09:41:56 +0000
(09:41 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6819
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/base-files/files/lib/network/config.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/network/config.sh
b/package/base-files/files/lib/network/config.sh
index
cab2e06
..
eee72c0
100755
(executable)
--- 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