diff options
-rw-r--r-- | security/isakmpd/Makefile | 2 | ||||
-rw-r--r-- | security/isakmpd/files/isakmpd.sh.in | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile index 42a22dadf9b2..23d54c15d4f6 100644 --- a/security/isakmpd/Makefile +++ b/security/isakmpd/Makefile @@ -7,7 +7,7 @@ PORTNAME= isakmpd PORTVERSION= 20041207 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security net MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= simon 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" |