This file is indexed.

preinst is in isc-dhcp-server-ldap 4.3.3-5ubuntu12.

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

set -e 

if [ "$1" = install -o "$1" = upgrade ]; then
	if dpkg-divert --list /usr/sbin/dhcpd \
		| grep -q "by isc-dhcp-server-ldap";
	then
		exit 0
	fi
		
	dpkg-divert --package isc-dhcp-server-ldap --add --rename \
		--divert /usr/sbin/dhcpd-noldap /usr/sbin/dhcpd
fi