This file is indexed.

postinst is in dhcpcd5 6.10.1-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
#!/bin/sh

set -e

update-alternatives --quiet --install /sbin/dhcpcd dhcpcd /sbin/dhcpcd5 50 \
	--slave /usr/share/man/man8/dhcpcd.8.gz dhcpcd.8.gz \
		/usr/share/man/man8/dhcpcd5.8.gz

# Automatically added by dh_installinit
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
	if [ -x "/etc/init.d/dhcpcd" ]; then
		update-rc.d dhcpcd defaults >/dev/null || exit $?
	fi
fi
# End automatically added section