From 2a86ef5abfb0be726c36ea3441e9ea14855b31c9 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 15 Apr 2007 07:23:28 +0000 Subject: fix ifdown hotplug event (#1576) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6950 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/sbin/ifdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/base-files/files/sbin/ifdown b/package/base-files/files/sbin/ifdown index 8c36a25b48..5a98003b1d 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.2.3