]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - debian/nfs-common.prerm
Fix obsolete invocations of update-rc.d by switching nfs-common to use dh_installinit...
[nfs-utils.git] / debian / nfs-common.prerm
old mode 100755 (executable)
new mode 100644 (file)
index b49a2b4..c6d2a72
@@ -1,13 +1,8 @@
 #!/bin/sh
 
-#DEBHELPER#
+set -e
 
-case "$1" in
-    remove|purge)
-       [ -x /etc/init.d/nfs-common ] &&
-          /etc/init.d/nfs-common stop
-       ;;
-esac
+#DEBHELPER#
 
 if [ "$1" != upgrade ]
 then