nfs-utils (1:0.3.3-5) unstable; urgency=high
[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            /etc/init.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