From: Felix Fietkau Date: Thu, 9 Nov 2006 23:05:54 +0000 (+0000) Subject: fix dhcp hotplug events X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5808fe52a4738b5a2cf79c7c84b9dbf98d14666d;p=openwrt%2Fstaging%2Fblocktrron.git fix dhcp hotplug events SVN-Revision: 5491 --- diff --git a/package/base-files/default/usr/share/udhcpc/default.script b/package/base-files/default/usr/share/udhcpc/default.script index 74e703715b..53c8faf316 100755 --- a/package/base-files/default/usr/share/udhcpc/default.script +++ b/package/base-files/default/usr/share/udhcpc/default.script @@ -14,7 +14,7 @@ hotplug_event() { config_get proto $ifc proto [ "$proto" = "dhcp" ] || continue - env -i ACTION="$1" INTERFACE="$ifname" PROTO=dhcp /sbin/hotplug iface + env -i ACTION="$1" INTERFACE="$ifc" DEVICE="$ifname" PROTO=dhcp /sbin/hotplug iface done }