[Pkg-utopia-commits] r547 - packages/unstable/networkmanager/debian

Riccardo Setti giskard-guest at costa.debian.org
Thu Feb 2 21:57:48 UTC 2006


Author: giskard-guest
Date: 2006-02-02 21:57:47 +0000 (Thu, 02 Feb 2006)
New Revision: 547

Modified:
   packages/unstable/networkmanager/debian/network-manager.prerm
Log:
now NM will be stopped when prerm script is invoked

Modified: packages/unstable/networkmanager/debian/network-manager.prerm
===================================================================
--- packages/unstable/networkmanager/debian/network-manager.prerm	2006-02-02 20:12:10 UTC (rev 546)
+++ packages/unstable/networkmanager/debian/network-manager.prerm	2006-02-02 21:57:47 UTC (rev 547)
@@ -7,6 +7,14 @@
 				rm /etc/dbus-1/event.d/25NetworkManagerDispatcher
 			fi
 		;;
+  	remove)
+	 if [ -x /usr/bin/dbus-send ]; then
+		/usr/bin/dbus-send --system --type=method_call \
+        	--dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
+		/etc/dbus-1/event.d/25NetworkManager stop 
+		/etc/dbus-1/event.d/26NetworkManagerDispatcher stop
+    fi
+    ;;
 esac
 
 #DEBHELPER#




More information about the Pkg-utopia-commits mailing list