This file is indexed.

preinst is in dns-flood-detector 1.20-2.

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

# generate correct pid file, for versions where was non or incorrect
if [ "$1" = "upgrade" ] && [ "$2" ] && dpkg --compare-versions "$2" <= "1.12-1"; then
	pidof dns-flood-detector > /var/run/dns-flood-detector.pid
fi