postinst is in rsh-server 0.17-15.
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 | #!/bin/sh -e
# $Id: rsh-server.postinst,v 1.3 1999/09/05 14:44:57 herbert Exp $
if [ "$1" = configure -a -z "$2" ]; then
update-inetd --group BSD --add "shell stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rshd"
update-inetd --group BSD --add "login stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rlogind"
update-inetd --group BSD --add "exec stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rexecd"
else
update-inetd --enable shell,login,exec
fi
|