summaryrefslogtreecommitdiff
path: root/debian/strongswan-starter.ipsec.init
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@corsac.net>2012-06-28 21:15:39 +0200
committerYves-Alexis Perez <corsac@corsac.net>2012-06-28 21:15:39 +0200
commitd816a1afbd841e9943bb439fe4e110b7c4970550 (patch)
tree0d6307759fb6a2ac8fed2e9c5e0d22db66855370 /debian/strongswan-starter.ipsec.init
parent6343ba4e2cabbb3b5b072dc46e2d81a39f29a386 (diff)
downloadvyos-strongswan-d816a1afbd841e9943bb439fe4e110b7c4970550.tar.gz
vyos-strongswan-d816a1afbd841e9943bb439fe4e110b7c4970550.zip
Import NMU 4.5.2-1.5
* Non-maintainer upload. * Fix "package must not include /var/lock/subsys": don't ship /var/lock/subsys but create it in the init script. (Closes: #667764)
Diffstat (limited to 'debian/strongswan-starter.ipsec.init')
-rw-r--r--debian/strongswan-starter.ipsec.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/strongswan-starter.ipsec.init b/debian/strongswan-starter.ipsec.init
index cfdbb8426..cd10682cf 100644
--- a/debian/strongswan-starter.ipsec.init
+++ b/debian/strongswan-starter.ipsec.init
@@ -34,6 +34,9 @@ SCRIPTNAME=/etc/init.d/$NAME
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
. /lib/lsb/init-functions
+# Create lock dir
+mkdir -p /var/lock/subsys
+
#
# Function that starts the daemon/service
#