a3e730f3965e6233ea4e58b2ebae16521c7197ff
[nfs-utils.git] / debian / nfs-common.prerm
1 #!/bin/sh
2
3 #DEBHELPER#
4
5 [ -x /etc/init.d/nfs-common ] && /etc/init.d/nfs-common stop
6
7 if [ "$1" != upgrade ]
8 then
9     rm -f /var/lib/nfs/sm/*      \
10           /var/lib/nfs/sm.bak/*  \
11           /var/lib/nfs/state
12 fi
13
14 exit 0