#!/bin/sh
#
# $FreeBSD: ports/security/isakmpd/files/isakmpd.in,v 1.2 2012/11/17 06:01:06 svnexp Exp $
#

# PROVIDE: ike isakmpd
# REQUIRE: root mountcritlocal
# BEFORE:  DAEMON
# KEYWORD: nojail

. /etc/rc.subr

name="isakmpd"
rcvar=isakmpd_enable
command="/usr/local/sbin/${name}"
extra_commands="reload"

load_rc_config $name

: ${isakmpd_enable="NO"}

run_rc_command "$1"
