prerm is in uucp 1.07-24.
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 17 18 19 20 21 22 23 | #! /bin/sh
set -e
case "$1" in
remove|upgrade|remove-in-favour|deconfigure-in-favour)
;;
failed-upgrade)
echo "Upgrade failed!"
exit 0
;;
*)
echo "$0: unknown action \"$1\""
exit 0
;;
esac
# Kill all running UUCP sessions.
start-stop-daemon --stop --quiet --oknodo --retry TERM/5/KILL/2 --exec /usr/lib/uucp/uucico
exit 0
|