diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-11-09 23:05:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-11-09 23:05:54 +0000 |
commit | 5808fe52a4738b5a2cf79c7c84b9dbf98d14666d (patch) | |
tree | 903534ef44c130f7a3d44f2ed94a40c8bc7ac04f /package/base-files | |
parent | f458a8f21bc1eb250df57f114a0a84abaeac24f0 (diff) | |
download | mtk-20170518-5808fe52a4738b5a2cf79c7c84b9dbf98d14666d.zip mtk-20170518-5808fe52a4738b5a2cf79c7c84b9dbf98d14666d.tar.gz mtk-20170518-5808fe52a4738b5a2cf79c7c84b9dbf98d14666d.tar.bz2 |
fix dhcp hotplug events
SVN-Revision: 5491
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/default/usr/share/udhcpc/default.script | 2 |
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 74e7037..53c8faf 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 } |