don't emit ifup hotplug events on dhcp renew - use a new iface hotplug type 'update' instead; fixes #3906

SVN-Revision: 12671
This commit is contained in:
Felix Fietkau 2008-09-23 17:29:22 +00:00
parent deb3f95996
commit 35b92f0c99

View file

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