about summary refs log tree commit diff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/network-manager.postinst9
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index c1a1103d..02b1b34d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,8 @@ network-manager (0.7.0.99-1) UNRELEASED; urgency=low
       creating Ad-hoc connections and connection sharing. (Closes: #513151)
     - Document optional dependencies, like avahi-autoipd or policykit, in the
       package description. (Closes: #504455)
+  * debian/rules
+    - Update stop priorites for 0 1 6 from K14 to K88.
 
  -- Michael Biebl <biebl@debian.org>  Thu, 05 Mar 2009 08:01:23 +0100
 
diff --git a/debian/network-manager.postinst b/debian/network-manager.postinst
index c7694427..7666aa1f 100644
--- a/debian/network-manager.postinst
+++ b/debian/network-manager.postinst
@@ -35,6 +35,15 @@ case "$1" in
 		fi
 	fi
 
+	# Update init script priorities
+	if dpkg --compare-versions "$2" lt "0.7.0.99-1"; then
+		for i in 0 1 6 ; do
+			if [ -e /etc/rc$i.d/K14network-manager ]; then
+				mv /etc/rc$i.d/K14network-manager /etc/rc$i.d/K88network-manager
+			fi
+		done
+	fi
+
 	;;
     
     abort-upgrade|abort-deconfigure|abort-remove)