diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-04-15 07:22:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-04-15 07:22:11 +0000 |
commit | 6d47d3ae113d075caa641852409972386aa6ebd7 (patch) | |
tree | 52caf11a1ce81e2e87c24cba77de0e13152f1391 /package/base-files/files | |
parent | 45c2fcdbf52710c418c1a5c461e95a34b0efac40 (diff) | |
download | upstream-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')
-rwxr-xr-x | package/base-files/files/sbin/ifdown | 2 |
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 |