freebsd-skq/etc/rc.d/ike
yar 01c93e4949 Don't be lazy, set the "command" variable even if
/etc/defaults/rc.conf will provide foo_program, too.
By specifying "command" we explicitly say that we're
going to rely on rc.subr(8) default methods, and
rc.subr(8) will take advantage of this soon.

The majority of our rc.d scripts already set "command"
if appropriate, so fix just the non-compliant handful.
2005-10-23 14:06:53 +00:00

20 lines
255 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: ike
# REQUIRE: root mountcritlocal
# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
name="ike"
rcvar=`set_rcvar`
command="/usr/local/sbin/isakmpd"
extra_commands="reload"
load_rc_config $name
run_rc_command "$1"