X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=debian%2Fnfs-common.prerm;h=08e0ca9112ee919a18a839b20856e00fd88c14b6;hp=b49a2b4d51ffac3e02364d88ffb4545286c1e8c8;hb=4dabf51e41ec81982767607af82c701660fae9ee;hpb=9c612925efdfecc400e17bba4797b813c7bd4052 diff --git a/debian/nfs-common.prerm b/debian/nfs-common.prerm old mode 100755 new mode 100644 index b49a2b4..08e0ca9 --- a/debian/nfs-common.prerm +++ b/debian/nfs-common.prerm @@ -1,11 +1,13 @@ #!/bin/sh +set -e + #DEBHELPER# case "$1" in remove|purge) [ -x /etc/init.d/nfs-common ] && - /etc/init.d/nfs-common stop + invoke-rc.d nfs-common stop ;; esac