postinst is in dhcpcd5 6.0.5-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 | #!/bin/sh -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 [ -x "/etc/init.d/dhcpcd" ]; then
if [ ! -e "/etc/init/dhcpcd.conf" ]; then
update-rc.d dhcpcd defaults >/dev/null
fi
fi
# End automatically added section
|