[packages] strongswan: add init script
Signed-off-by: Luka Logar <luka.logar@cifra.si> Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@36319 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
20
net/strongswan/files/ipsec.init
Normal file
20
net/strongswan/files/ipsec.init
Normal 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
|
||||
}
|
Reference in New Issue
Block a user