yar b7c8cc2f5a MFC rev. 1.5:
Set $command to indicate that the script wants to use
the default rc.subr(8) methods.  This is mandatory now.
2006-01-22 13:24:58 +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"