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 | |
parent | 45c2fcdbf52710c418c1a5c461e95a34b0efac40 (diff) | |
download | mtk-20170518-6d47d3ae113d075caa641852409972386aa6ebd7.zip mtk-20170518-6d47d3ae113d075caa641852409972386aa6ebd7.tar.gz mtk-20170518-6d47d3ae113d075caa641852409972386aa6ebd7.tar.bz2 |
fix bogus "interface not found" errors in ifup -a (#1580)
SVN-Revision: 6949
Diffstat (limited to 'package/base-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 e00a4e3..8c36a25 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 |