projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45c2fcd
)
fix bogus "interface not found" errors in ifup -a (#1580)
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 15 Apr 2007 07:22:11 +0000
(07:22 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 15 Apr 2007 07:22:11 +0000
(07:22 +0000)
SVN-Revision: 6949
package/base-files/files/sbin/ifdown
patch
|
blob
|
history
diff --git
a/package/base-files/files/sbin/ifdown
b/package/base-files/files/sbin/ifdown
index e00a4e38da39c98cd656d19c9e6f3d456665fcfa..8c36a25b48d2bfc4ec8c494bf39f1d7fea820a94 100755
(executable)
--- a/
package/base-files/files/sbin/ifdown
+++ b/
package/base-files/files/sbin/ifdown
@@
-5,7
+5,7
@@
[ $# = 0 ] && { echo " $0 <group>"; exit; }
[ "x$1" = "x-a" ] && {
config_cb() {
- [ -z "$2" ] || eval "$0 $2"
+ [
interface != "$1" -o
-z "$2" ] || eval "$0 $2"
}
config_load network
exit