]> git.decadent.org.uk Git - nfs-utils.git/blob - debian/nfs-kernel-server.prerm
Imported Debian patch 1.1.0-1
[nfs-utils.git] / debian / nfs-kernel-server.prerm
1 #!/bin/sh
2
3 #DEBHELPER#
4
5 case "$1" in
6     remove|purge)
7         [ -x /etc/init.d/nfs-kernel-server ] &&
8             invoke-rc.d nfs-kernel-server stop
9         ;;
10 esac
11
12 if [ "$1" != upgrade ]
13 then
14     rm -f /var/lib/nfs/etab   \
15           /var/lib/nfs/rmtab  \
16           /var/lib/nfs/xtab
17 fi
18
19 exit 0