postinst is in openbsd-inetd 0.20091229-1ubuntu1.
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 -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
update-rc.d openbsd-inetd defaults 20 >/dev/null
invoke-rc.d openbsd-inetd start || exit $?
fi
# End automatically added section
|