blob: 03ad7f80caf528a5db0c8c1b91633e392bdccf90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"
|