This file is indexed.

prerm is in nfs-common 1:1.3.4-2.1ubuntu5.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh

set -e

# Automatically added by dh_installinit/11.1.2ubuntu1
if [ -x "/etc/init.d/nfs-common" ] && [ "$1" = remove ]; then
	invoke-rc.d nfs-common stop || exit 1
fi
# End automatically added section
# Automatically added by dh_installdeb/11.1.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/init/gssd-mounting.conf 1:1.2.8-9.1ubuntu1~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/init/gssd.conf 1:1.2.8-9.1ubuntu1~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/init/idmapd-mounting.conf 1:1.2.8-9.1ubuntu1~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/init/idmapd.conf 1:1.2.8-9.1ubuntu1~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/init/statd-mounting.conf 1:1.2.8-9.1ubuntu1~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/init/statd-mounting.override 1:1.2.8-9.1ubuntu1~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/init/statd.conf 1:1.2.8-9.1ubuntu1~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/init/statd.override 1:1.2.8-9.1ubuntu1~ -- "$@"
# End automatically added section
# Automatically added by dh_systemd_start/11.1.2ubuntu1
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
	deb-systemd-invoke stop 'nfs-utils.service' >/dev/null || true
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