prerm is in consolekit 0.4.6-5.
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
set -e
DAEMON=/usr/sbin/console-kit-daemon
PIDFILE=/var/run/console-kit-daemon.pid
if [ "$1" = remove ]; then
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON --pidfile $PIDFILE
fi
|