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:
parent
deb3f95996
commit
35b92f0c99
|
@ -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…
Reference in New Issue