From 5f4b17b53f67c499b51b0178eb3d9e1dbaeda4bb Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 15 Apr 2007 07:23:28 +0000
Subject: fix ifdown hotplug event (#1576)

SVN-Revision: 6950
---
 package/base-files/files/sbin/ifdown | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'package/base-files/files/sbin')

diff --git a/package/base-files/files/sbin/ifdown b/package/base-files/files/sbin/ifdown
index 8c36a25..5a98003 100755
--- a/package/base-files/files/sbin/ifdown
+++ b/package/base-files/files/sbin/ifdown
@@ -21,7 +21,7 @@ config_get proto "$cfg" proto
 
 config_get iface "$cfg" device
 [ "$proto" = "static" ] && {
-	env -i ACTION="ifdown" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" &
+	env -i ACTION="ifdown" INTERFACE="$cfg" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" &
 }
 
 # call interface stop handler
-- 
cgit v1.1