summaryrefslogtreecommitdiff
blob: ec43577ce006c378f54551461ba4ddcf4bf80079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/runscript

depend() {
	need net
}

start() {
	ebegin "Starting ike daemon"
	start-stop-daemon --start --exec /usr/sbin/iked
	eend $?
}

stop() {
	ebegin "Stopping ike daemon"
	start-stop-daemon --stop --oknodo --exec /usr/sbin/iked
	eend $?
}