mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-07 03:29:36 +00:00
fix dhcp hotplug events
SVN-Revision: 5491
This commit is contained in:
parent
f458a8f21b
commit
5808fe52a4
@ -14,7 +14,7 @@ hotplug_event() {
|
|||||||
config_get proto $ifc proto
|
config_get proto $ifc proto
|
||||||
[ "$proto" = "dhcp" ] || continue
|
[ "$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
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user