prerm is in heimdal-servers 1.6~git20120311.dfsg.1-2.
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 | #!/bin/sh -e
disable_servers() {
update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/rshd' --disable kshell
update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/ftpd' --disable ftp
update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/telnetd' --disable telnet
update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/popper' --disable pop-3
}
if command -v update-inetd >/dev/null 2>&1; then
disable_servers
fi
|