[Pkg-utopia-commits] r3532 - in /packages/unstable/networkmanager/debian: changelog network-manager-dispatcher.script

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Sun Feb 21 23:27:07 UTC 2010


Author: biebl
Date: Sun Feb 21 23:27:07 2010
New Revision: 3532

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3532
Log:
* debian/network-manager-dispatcher.script
  - Map NetworkManager down event to ifupdown post-down phase.
    (Closes: #562811)
  - Map vpn-up/vpn-down event to ifupdown post-up/post-down phase.
    (Closes: #518530)
  - Comment out pre-up/pre-down events as they are not supported upstream.
  - Add hostname event but don't hook it up with a particular action.

Modified:
    packages/unstable/networkmanager/debian/changelog
    packages/unstable/networkmanager/debian/network-manager-dispatcher.script

Modified: packages/unstable/networkmanager/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/networkmanager/debian/changelog?rev=3532&op=diff
==============================================================================
--- packages/unstable/networkmanager/debian/changelog (original)
+++ packages/unstable/networkmanager/debian/changelog Sun Feb 21 23:27:07 2010
@@ -7,6 +7,13 @@
     - debian/patches/04-etc-hosts-rewrite.patch
     - debian/patches/05-ifupdown-allow-hotplug-autoconnect.patch
     - debian/patches/03-hostname-fallback.patch
+  * debian/network-manager-dispatcher.script
+    - Map NetworkManager down event to ifupdown post-down phase.
+      (Closes: #562811)
+    - Map vpn-up/vpn-down event to ifupdown post-up/post-down phase.
+      (Closes: #518530)
+    - Comment out pre-up/pre-down events as they are not supported upstream.
+    - Add hostname event but don't hook it up with a particular action.
 
  -- Michael Biebl <biebl at debian.org>  Fri, 19 Feb 2010 21:41:06 +0100
 

Modified: packages/unstable/networkmanager/debian/network-manager-dispatcher.script
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/networkmanager/debian/network-manager-dispatcher.script?rev=3532&op=diff
==============================================================================
--- packages/unstable/networkmanager/debian/network-manager-dispatcher.script (original)
+++ packages/unstable/networkmanager/debian/network-manager-dispatcher.script Sun Feb 21 23:27:07 2010
@@ -2,6 +2,7 @@
 # Script to dispatch NetworkManager events
 #
 # Runs ifupdown scripts when NetworkManager fiddles with interfaces.
+# See NetworkManager(8) for further documentation of the dispatcher events.
 
 if [ -z "$1" ]; then
     echo "$0: called with no interface" 1>&2
@@ -17,25 +18,29 @@
 
 # Run the right scripts
 case "$2" in
-    up)
+    up|vpn-up)
 	export MODE="start"
 	export PHASE="post-up"
 	exec run-parts /etc/network/if-up.d
 	;;
-    down)
-	export MODE="stop"
-	export PHASE="pre-down"
-	exec run-parts /etc/network/if-down.d
-	;;
-    pre-up)
-	export MODE="start"
-	export PHASE="pre-up"
-	exec run-parts /etc/network/if-pre-up.d
-	;;
-    post-down)
+    down|vpn-down)
 	export MODE="stop"
 	export PHASE="post-down"
 	exec run-parts /etc/network/if-post-down.d
+	;;
+# pre-up/pre-down not implemented. See
+# https://bugzilla.gnome.org/show_bug.cgi?id=387832
+#    pre-up)
+#	export MODE="start"
+#	export PHASE="pre-up"
+#	exec run-parts /etc/network/if-pre-up.d
+#	;;
+#    pre-down)
+#	export MODE="stop"
+#	export PHASE="pre-down"
+#	exec run-parts /etc/network/if-down.d
+#	;;
+    hostname)
 	;;
     *)
 	echo "$0: called with unknown action \`$2'" 1>&2




More information about the Pkg-utopia-commits mailing list