Set $command to indicate that the script wants to use the default rc.subr(8) methods. This is mandatory now.
20 lines
255 B
Bash
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"
|