File: prerm

package info (click to toggle)
l2tp-ipsec-vpn-daemon 0.9.9-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 176 kB
  • sloc: cpp: 500; sh: 239; xml: 144; makefile: 106
file content (23 lines) | stat: -rw-r--r-- 466 bytes parent folder | download
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
#
# 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.

#DEBHELPER#

exit 0