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:
		| @@ -56,7 +56,11 @@ case "$1" in | |||||||
| 			mv "${RESOLV_CONF}.tmp" "$RESOLV_CONF" | 			mv "${RESOLV_CONF}.tmp" "$RESOLV_CONF" | ||||||
| 		} | 		} | ||||||
| 		 | 		 | ||||||
| 		hotplug_event ifup | 		if [ "$1" = "renew" ]; then | ||||||
|  | 			hotplug_event update | ||||||
|  | 		else | ||||||
|  | 			hotplug_event ifup | ||||||
|  | 		fi | ||||||
| 		 | 		 | ||||||
| 		# user rules | 		# user rules | ||||||
| 		[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user | 		[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Felix Fietkau
					Felix Fietkau