From 57f2868c3d1798bedd54f59eb1c78ba09f5573d5 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Thu, 9 Nov 2006 22:11:11 +0000
Subject: [PATCH] fix ifup hotplug event for static

SVN-Revision: 5489
---
 package/base-files/default/lib/network/config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/base-files/default/lib/network/config.sh b/package/base-files/default/lib/network/config.sh
index 502377b601..32558de8f3 100755
--- a/package/base-files/default/lib/network/config.sh
+++ b/package/base-files/default/lib/network/config.sh
@@ -122,7 +122,7 @@ setup_interface() {
 				done
 			}
 
-			env -i ACTION="ifup" INTERFACE="config" DEVICE="$iface" PROTO=static /sbin/hotplug "iface" &
+			env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug "iface" &
 		;;
 		dhcp)
 			# prevent udhcpc from starting more than once
-- 
2.30.2