1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/sh #DEBHELPER# case "$1" in remove|purge) [ -x /etc/init.d/nfs-common ] && /etc/init.d/nfs-common stop ;; esac if [ "$1" != upgrade ] then rm -f /var/lib/nfs/sm/* \ /var/lib/nfs/sm.bak/* \ /var/lib/nfs/state fi exit 0