summaryrefslogtreecommitdiff
path: root/security/isakmpd/files/isakmpd.in
blob: fb30d09d8c511ec0c3a75adae5f072b8d16e4007 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
#
# $FreeBSD$
#

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

. /etc/rc.subr

name="isakmpd"
rcvar=isakmpd_enable
command="%%PREFIX%%/sbin/${name}"
extra_commands="reload"

load_rc_config $name

: ${isakmpd_enable="NO"}

run_rc_command "$1"