prerm is in l2tpns 2.2.1-1.
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
# prerm script for l2tpns
set -e
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
# Automatically added by dh_installinit
if [ -x "/etc/init.d/l2tpns" ] || [ -e "/etc/init/l2tpns.conf" ]; then
invoke-rc.d l2tpns stop || exit $?
fi
# End automatically added section
exit 0
|