diff options
Diffstat (limited to '')
-rw-r--r-- | debian/nfs-kernel-server.prerm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/nfs-kernel-server.prerm b/debian/nfs-kernel-server.prerm new file mode 100644 index 0000000..c0807a8 --- /dev/null +++ b/debian/nfs-kernel-server.prerm @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +case "$1" in + remove|purge) + [ -x /etc/init.d/nfs-kernel-server ] && + invoke-rc.d nfs-kernel-server stop + ;; +esac + +if [ "$1" != upgrade ] +then + rm -f /var/lib/nfs/etab \ + /var/lib/nfs/rmtab +fi + +exit 0 |