postinst is in openbsd-inetd 0.20091229-2ubuntu3.
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 | #!/bin/sh -e
if [ -x "/etc/init.d/openbsd-inetd" ] && which invoke-rc.d >/dev/null 2>&1; then
# Ignore any errors, this should be best-effort as it should not
# normally be needed in the first place. See #386469 for details.
invoke-rc.d openbsd-inetd stop || true
fi
# Automatically added by dh_installinit
if [ -x "/etc/init.d/openbsd-inetd" ]; then
if [ ! -e "/etc/init/openbsd-inetd.conf" ]; then
update-rc.d openbsd-inetd defaults 20 >/dev/null
fi
invoke-rc.d openbsd-inetd start || exit $?
fi
# End automatically added section
|