This file is indexed.

prerm is in l2tp-ipsec-vpn-daemon 0.9.9-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
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh
#
# This is the prerm script for the Debian GNU/Linux l2tp-ipsec-vpn-daemon package
#
# Written by Werner Jaeger
#
set -e

if [ "$1" = "remove" ] ; then
   # if daemon is running try to terminate it
   invoke-rc.d l2tp-ipsec-vpn-daemon stop || true

   # Remove runtime directory
   rm -rf /var/run/L2tpIPsecVpnControlDaemon
fi


# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

# Automatically added by dh_installinit
if [ -x "/etc/init.d/l2tp-ipsec-vpn-daemon" ]; then
	invoke-rc.d l2tp-ipsec-vpn-daemon stop || exit $?
fi
# End automatically added section


exit 0