diff options
author | Johan van Selst <johans@FreeBSD.org> | 2010-10-31 11:39:39 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2010-10-31 11:39:39 +0000 |
commit | 20332d20d66af1848a26199a35348687defcfff1 (patch) | |
tree | fa671629c689bc3d1f5a36cb0cdffc8b14d6602b /security/ike | |
parent | 35df8da65ccb9520759eb6914c78e152e71a4704 (diff) |
Notes
Diffstat (limited to 'security/ike')
-rw-r--r-- | security/ike/files/iked.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/security/ike/files/iked.in b/security/ike/files/iked.in new file mode 100644 index 000000000000..03ad7f80caf5 --- /dev/null +++ b/security/ike/files/iked.in @@ -0,0 +1,29 @@ +#!/bin/sh +# +# rc.d script for iked +# +# $Id$ + +# PROVIDE: iked +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable iked: +# +# #required +# iked_enable="YES" +# + +. "/etc/rc.subr" + +# defaults +iked_enable=${iked_enable:-"NO"} + +name=iked +rcvar=`set_rcvar` +load_rc_config $name +command=/usr/local/sbin/iked +command_args="-p /var/run/iked.pid > /dev/null" + +run_rc_command "$1" |