about summary refs log tree commit diff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/network-manager.postinst12
1 files changed, 0 insertions, 12 deletions
diff --git a/debian/network-manager.postinst b/debian/network-manager.postinst
index bcb634dd..0829446e 100644
--- a/debian/network-manager.postinst
+++ b/debian/network-manager.postinst
@@ -20,18 +20,6 @@ set -e
 
 case "$1" in
     configure)
-	# When upgrading from a version that was using an Alias= instead of
-	# symlink to mask the LSB initscript, if we are running systemd and
-	# NetworkManager has been started by the LSB script, kill the process
-	# before we are restarting it. (See: #734460)
-	if dpkg --compare-versions "$2" lt-nl "0.9.8.8-2~"; then
-	    if [ -d /run/systemd/system ] && \
-	      [ -f /var/run/NetworkManager/NetworkManager.pid ]; then
-	        start-stop-daemon --stop --retry 5 --quiet --exec /usr/sbin/NetworkManager \
-		  --pidfile /var/run/NetworkManager/NetworkManager.pid || true
-	    fi
-	fi
-
         # Create netdev group. Members of group netdev get access to the PolicyKit action
         # org.freedesktop.NetworkManager.settings.modify.system without prior authentication
         addgroup --quiet --system netdev