From: Felix Fietkau Date: Sun, 15 Apr 2007 07:23:28 +0000 (+0000) Subject: fix ifdown hotplug event (#1576) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5f4b17b53f67c499b51b0178eb3d9e1dbaeda4bb;p=openwrt%2Fstaging%2Fldir.git fix ifdown hotplug event (#1576) SVN-Revision: 6950 --- 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