summaryrefslogtreecommitdiff
path: root/debian/dbus.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/dbus.postinst')
-rw-r--r--debian/dbus.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/dbus.postinst b/debian/dbus.postinst
index 1031ed63..bdac3426 100644
--- a/debian/dbus.postinst
+++ b/debian/dbus.postinst
@@ -31,6 +31,11 @@ if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 1.1.20-1; then
update-rc.d -f dbus remove >/dev/null
fi
+# Remove stop symlinks for runlevel 1 as killprocs already does the job for us.
+if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 1.2.24-1; then
+ rm -f /etc/rc1.d/K??dbus
+fi
+
if [ "$1" = configure ] && [ -n "$2" ] && [ -x "/etc/init.d/dbus" ]; then
# Restart dbus on upgrades.
# dh_installinit -r creates the necessary start action.