strongswan: import, update, adopt

Signed-off-by: Steven Barth <steven@midlink.org>
This commit is contained in:
Steven Barth
2014-08-17 10:11:02 +02:00
parent c1fd201ee4
commit bd52d64fdb
8 changed files with 611 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/bin/sh /etc/rc.common
START=90
STOP=10
start() {
ipsec start
}
stop() {
ipsec stop
}
restart() {
ipsec restart
}
reload() {
ipsec update
}
+1
View File
@@ -0,0 +1 @@
# /etc/ipsec.secrets - strongSwan IPsec secrets file
+6
View File
@@ -0,0 +1,6 @@
# This file is interpreted as shell script.
# Put your custom ip rules here, they will
# be executed with each call to the script
# /usr/lib/ipsec/_updown which by default
# strongswan executes.