postinst is in remctl-server 3.8-3.
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
# postinst script for remctl
set -e
if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
# Only try to add the inetd line on an initial installation.
if [ -z "$2" ] || [ x"$2" = x"<unknown>" ] ; then
update-inetd --add \
'remctl\t\tstream\ttcp\tnowait\troot\t/usr/sbin/tcpd /usr/sbin/remctld'
fi
fi
exit 0
|