diff options
author | Simon L. B. Nielsen <simon@FreeBSD.org> | 2006-03-26 11:14:02 +0000 |
---|---|---|
committer | Simon L. B. Nielsen <simon@FreeBSD.org> | 2006-03-26 11:14:02 +0000 |
commit | a634482618906c4deebd97969514a5e5af2dbc51 (patch) | |
tree | 3727e355d3298879ab685bff7346a79facd66364 /security/isakmpd/files | |
parent | 5671344c110f4dac5d9c9eaff3b663c52cfdccb0 (diff) | |
download | ports-a634482618906c4deebd97969514a5e5af2dbc51.tar.gz ports-a634482618906c4deebd97969514a5e5af2dbc51.zip |
- 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.in | 21 |
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" |