prerm is in rsh-redone-client 85-2build1.
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 | #!/bin/sh -e
if [ "$1" = remove ] || [ "$1" = deconfigure ]; then
update-alternatives --remove rsh /usr/bin/rsh-redone-rsh
update-alternatives --remove rlogin /usr/bin/rsh-redone-rlogin
fi
|