mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-26 22:31:06 +02:00
don't emit ifup hotplug events on dhcp renew - use a new iface hotplug type 'update' instead; fixes #3906
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12671 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a0d42d3cda
commit
8b0d8253f3
@ -56,7 +56,11 @@ case "$1" in
|
||||
mv "${RESOLV_CONF}.tmp" "$RESOLV_CONF"
|
||||
}
|
||||
|
||||
hotplug_event ifup
|
||||
if [ "$1" = "renew" ]; then
|
||||
hotplug_event update
|
||||
else
|
||||
hotplug_event ifup
|
||||
fi
|
||||
|
||||
# user rules
|
||||
[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user
|
||||
|
Loading…
x
Reference in New Issue
Block a user