aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-15 07:22:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-15 07:22:11 +0000
commit6d47d3ae113d075caa641852409972386aa6ebd7 (patch)
tree52caf11a1ce81e2e87c24cba77de0e13152f1391 /package/base-files/files/sbin
parent45c2fcdbf52710c418c1a5c461e95a34b0efac40 (diff)
downloadupstream-6d47d3ae113d075caa641852409972386aa6ebd7.tar.gz
upstream-6d47d3ae113d075caa641852409972386aa6ebd7.tar.bz2
upstream-6d47d3ae113d075caa641852409972386aa6ebd7.zip
fix bogus "interface not found" errors in ifup -a (#1580)
SVN-Revision: 6949
Diffstat (limited to 'package/base-files/files/sbin')
-rwxr-xr-xpackage/base-files/files/sbin/ifdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/ifdown b/package/base-files/files/sbin/ifdown
index e00a4e38da..8c36a25b48 100755
--- 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