prerm is in slapd 2.4.42+dfsg-2ubuntu3.
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 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
# Automatically added by dh_installinit
if [ -x "/etc/init.d/slapd" ] || [ -e "/etc/init/slapd.conf" ]; then
invoke-rc.d slapd stop || exit $?
fi
# End automatically added section
exit 0
# vim: set foldmethod=marker:
|