From 6d47d3ae113d075caa641852409972386aa6ebd7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 15 Apr 2007 07:22:11 +0000 Subject: [PATCH] fix bogus "interface not found" errors in ifup -a (#1580) SVN-Revision: 6949 --- package/base-files/files/sbin/ifdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/sbin/ifdown b/package/base-files/files/sbin/ifdown index e00a4e38da39..8c36a25b48d2 100755 --- a/package/base-files/files/sbin/ifdown +++ b/package/base-files/files/sbin/ifdown @@ -5,7 +5,7 @@ [ $# = 0 ] && { echo " $0 "; exit; } [ "x$1" = "x-a" ] && { config_cb() { - [ -z "$2" ] || eval "$0 $2" + [ interface != "$1" -o -z "$2" ] || eval "$0 $2" } config_load network exit -- 2.30.2