Imported Debian patch 1.0.7-10
[nfs-utils.git] / debian / nfs-kernel-server.prerm
index d82bd10..80878e6 100755 (executable)
@@ -5,7 +5,7 @@
 case "$1" in
     remove|purge)
        [ -x /etc/init.d/nfs-kernel-server ] &&
-          /etc/init.d/nfs-kernel-server stop
+           invoke-rc.d nfs-kernel-server stop
        ;;
 esac