File: //var/lib/dpkg/info/nfs-common.prerm
#!/bin/sh
set -e
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop nfs-utils.service >/dev/null
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/nfs-common" ] && [ "$1" = remove ]; then
invoke-rc.d nfs-common stop || exit $?
fi
# End automatically added section
if [ "$1" = remove ]
then
rm -f /var/lib/nfs/sm/* \
/var/lib/nfs/sm.bak/* \
/var/lib/nfs/state
fi