aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/default
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-09 23:05:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-09 23:05:54 +0000
commitac49f2ad3ecb79a6c8d6a2464c596799fa31de18 (patch)
tree89360d30f8bbdbdca5cc8cd373d0cf401ae7b855 /package/base-files/default
parent396517ef21bf8e083a2dd6819f3d4a76a0026b64 (diff)
downloadupstream-ac49f2ad3ecb79a6c8d6a2464c596799fa31de18.tar.gz
upstream-ac49f2ad3ecb79a6c8d6a2464c596799fa31de18.tar.bz2
upstream-ac49f2ad3ecb79a6c8d6a2464c596799fa31de18.zip
fix dhcp hotplug events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5491 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default')
-rwxr-xr-xpackage/base-files/default/usr/share/udhcpc/default.script2
1 files changed, 1 insertions, 1 deletions
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
}