fix dhcp hotplug events

SVN-Revision: 5491
This commit is contained in:
Felix Fietkau 2006-11-09 23:05:54 +00:00
parent f458a8f21b
commit 5808fe52a4

View file

@ -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
}