freebsd-skq/etc/rc.d/ike
Bruce M Simpson a2ed0b4e3d Add a means of starting an IKE daemon from the rc system at an appropriate
time during the boot process. This is needed in the case where NFS mounts
from servers reachable only via IPSEC are in /etc/fstab.

PR:		conf/42497
Submitted by:	Volker Stolz
Approved by:	re (rwatson)
2003-11-28 17:28:42 +00:00

19 lines
235 B
Bash

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