about summary refs log tree commit diff
path: root/debian/network-manager.postinst
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-04-04 22:40:46 +0200
committerMichael Biebl <biebl@debian.org>2011-04-04 22:40:46 +0200
commit5b82958a76acfcb55db4a2a387dcb54afb3a3169 (patch)
tree7208a75a761cf9e434e4f7100b91ca50157f58e4 /debian/network-manager.postinst
parent874b3fdf6993630a6b543a82a16df455ff69faae (diff)
Use dh_installinit -R instead of -r and stopping manually in postinst.
Diffstat (limited to 'debian/network-manager.postinst')
-rw-r--r--debian/network-manager.postinst8
1 files changed, 0 insertions, 8 deletions
diff --git a/debian/network-manager.postinst b/debian/network-manager.postinst
index 87fee6ea..52bcd0ac 100644
--- a/debian/network-manager.postinst
+++ b/debian/network-manager.postinst
@@ -41,14 +41,6 @@ case "$1" in
             invoke-rc.d dbus force-reload || true
         fi
 
-        # Stop the service on upgrades before it is started again.
-        # dh_installinit -r will create the start code.
-        if [ -n "$2" ]; then
-            if [ -x "/etc/init.d/network-manager" ]; then
-                invoke-rc.d network-manager stop || true
-            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