summaryrefslogtreecommitdiff
path: root/security/isakmpd/files
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2006-03-26 11:14:02 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2006-03-26 11:14:02 +0000
commita634482618906c4deebd97969514a5e5af2dbc51 (patch)
tree3727e355d3298879ab685bff7346a79facd66364 /security/isakmpd/files
parentDon't install the "helpful" yacc-esque version of bison2, it causes (diff)
- Install an isakmpd rc.d startup script based on the ike startup script
in the base system. [1] - Do not quote BROKEN. - Remove USE_REINPLACE, when I'm here anyway. Postponed for way to long by: simon [1]
Notes
Notes: svn path=/head/; revision=158134
Diffstat (limited to 'security/isakmpd/files')
-rw-r--r--security/isakmpd/files/isakmpd.sh.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/isakmpd/files/isakmpd.sh.in b/security/isakmpd/files/isakmpd.sh.in
new file mode 100644
index 000000000000..9e4514fdafe8
--- /dev/null
+++ b/security/isakmpd/files/isakmpd.sh.in
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: ike isakmpd
+# REQUIRE: root mountcritlocal
+# BEFORE: DAEMON
+# KEYWORD: nojail
+
+isakmpd_enable="${isakmpd_enable:-NO}"
+
+. /etc/rc.subr
+
+name="isakmpd"
+rcvar=`set_rcvar`
+command="%%PREFIX%%/sbin/${name}"
+extra_commands="reload"
+
+load_rc_config $name
+run_rc_command "$1"