summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ike/files/iked')
-rwxr-xr-xnet-misc/ike/files/iked17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-misc/ike/files/iked b/net-misc/ike/files/iked
new file mode 100755
index 0000000..ec43577
--- /dev/null
+++ b/net-misc/ike/files/iked
@@ -0,0 +1,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 $?
+}