aboutsummaryrefslogtreecommitdiff
path: root/security/isakmpd/files
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2006-03-27 20:57:48 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2006-03-27 20:57:48 +0000
commit68f8b915d0fddea56a1d7ed600294674e3d96f15 (patch)
treed3a677257ff84423e75e367fa651da4756cb4741 /security/isakmpd/files
parent30808dbd91fbd5ee1d7f8e6eae4956c35c93db87 (diff)
Notes
Diffstat (limited to 'security/isakmpd/files')
-rw-r--r--security/isakmpd/files/isakmpd.sh.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/security/isakmpd/files/isakmpd.sh.in b/security/isakmpd/files/isakmpd.sh.in
index 9e4514fdafe8..9bd537e054d9 100644
--- a/security/isakmpd/files/isakmpd.sh.in
+++ b/security/isakmpd/files/isakmpd.sh.in
@@ -8,9 +8,7 @@
# BEFORE: DAEMON
# KEYWORD: nojail
-isakmpd_enable="${isakmpd_enable:-NO}"
-
-. /etc/rc.subr
+. %%RC_SUBR%%
name="isakmpd"
rcvar=`set_rcvar`
@@ -18,4 +16,7 @@ command="%%PREFIX%%/sbin/${name}"
extra_commands="reload"
load_rc_config $name
+
+: ${isakmpd_enable="NO"}
+
run_rc_command "$1"