diff options
| author | Michael Biebl <biebl@debian.org> | 2017-05-11 16:17:23 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-05-11 17:01:40 +0200 |
| commit | 259e82ffa7df31b8eed0f09f15bd17f780266cc9 (patch) | |
| tree | aa5cb43642216edb4ae7b349459f45ec67cb6844 | |
| parent | 30116e4a21985cc5a5a22b70ee9804bc14172242 (diff) | |
Drop obsolete migration code from pre-jessie
| -rw-r--r-- | debian/network-manager.postinst | 12 |
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 |