mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
net/ipsec-tools: Import net/ipsec-tools from oldpackages
Signed-off-by: Noah Meyerhans <noahm@debian.org>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2009-2011 OpenWrt.org
|
||||
# Copyright (C) 2011 Artem Makhutov
|
||||
|
||||
START=49
|
||||
|
||||
SERVICE_USE_PID=1
|
||||
|
||||
start() {
|
||||
mkdir -m 0700 -p /var/racoon
|
||||
[ -f /etc/ipsec.conf ] && /usr/sbin/setkey -f /etc/ipsec.conf
|
||||
service_start /usr/sbin/racoon -f /etc/racoon.conf
|
||||
}
|
||||
|
||||
stop() {
|
||||
service_stop /usr/sbin/racoon
|
||||
}
|
||||
Reference in New Issue
Block a user