File: nfs-common.prerm

package info (click to toggle)
nfs-utils 1%3A1.0.10-6
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 4,228 kB
  • ctags: 2,554
  • sloc: ansic: 24,689; sh: 9,398; makefile: 667
file content (19 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (3)
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 ] &&
	    invoke-rc.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