about summary refs log tree commit diff
path: root/debian/network-manager-dispatcher.script
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-05-29 21:50:33 +0200
committerMichael Biebl <biebl@debian.org>2011-05-29 22:17:04 +0200
commitf5512c7c057d95e62228e5c4793bdd162b3d0a09 (patch)
tree7d76bb113a736abdf6e1034778a6e52ce19972fc /debian/network-manager-dispatcher.script
parent03e8fc2766ec51edd57f45abaaa8391f2a3125d8 (diff)
Handle dhcp4-change and dhcp6-change events
* debian/network-manager-dispatcher.script
  - Handle dhcp4-change and dhcp6-change events (by doing nothing). This
    prevents the 01ifupdown dispatcher script from logging an error on DHCP
    lease changes. (Closes: #628154)
Diffstat (limited to 'debian/network-manager-dispatcher.script')
-rw-r--r--debian/network-manager-dispatcher.script3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/network-manager-dispatcher.script b/debian/network-manager-dispatcher.script
index 9cd12d06..5869bda5 100644
--- a/debian/network-manager-dispatcher.script
+++ b/debian/network-manager-dispatcher.script
@@ -40,7 +40,8 @@ case "$2" in
 #	export PHASE="pre-down"
 #	exec run-parts /etc/network/if-down.d
 #	;;
-    hostname)
+    hostname|dhcp4-change|dhcp6-change)
+        # Do nothing
 	;;
     *)
 	echo "$0: called with unknown action \`$2'" 1>&2