aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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