about summary refs log tree commit diff
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
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)
-rw-r--r--debian/changelog4
-rw-r--r--debian/network-manager-dispatcher.script3
2 files changed, 6 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 8c9a5975..13804bcc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,10 @@
 network-manager (0.8.4.0-2) UNRELEASED; urgency=low
 
   * Update package descriptions.
+  * 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)
 
  -- Michael Biebl <biebl@debian.org>  Thu, 21 Apr 2011 17:31:46 +0200
 
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