projects
/
openwrt
/
staging
/
thess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64a525e
)
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)
SVN-Revision: 6819
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 cab2e06f0e3d3e7ed2d39f6b8b1713ac4c8f7d5a..eee72c0cdee9822ac7a0d3f179b0263d3396361d 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