diff options
author | johans <johans@FreeBSD.org> | 2010-10-31 19:39:39 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2010-10-31 19:39:39 +0800 |
commit | 083d21354e8a65bd269a59635a45595eb0fb8038 (patch) | |
tree | 8fd7a2dfbad525800ed3a2294b7022e43ca07661 /security/ike | |
parent | 5f59fc65b4971be11f62427e2d28a55fe44559ef (diff) | |
download | freebsd-ports-gnome-083d21354e8a65bd269a59635a45595eb0fb8038.tar.gz freebsd-ports-gnome-083d21354e8a65bd269a59635a45595eb0fb8038.tar.zst freebsd-ports-gnome-083d21354e8a65bd269a59635a45595eb0fb8038.zip |
Add rc.d file forgotten in previous commit
Reported by: QAT
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" |