This file is indexed.

prerm is in atftpd 0.7.git20120829-2.1.

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
#!/bin/sh

set -e

# Stops daemon if it is running under our control
if [ -x /etc/init.d/atftpd ]; then 
    if [ -x /usr/sbin/invoke-rc.d ]; then
	invoke-rc.d --quiet atftpd stop
    else
	/etc/init.d/atftpd stop
    fi
fi	

# Automatically added by dh_installinit
if [ -x "/etc/init.d/atftpd" ] || [ -e "/etc/init/atftpd.conf" ]; then
	invoke-rc.d atftpd stop || exit $?
fi
# End automatically added section


exit 0