freebsd-ports/security/isakmpd/files/isakmpd.sh.in
Simon L. B. Nielsen 68f8b915d0 - Make rc.d script more like what the Porters Handbook suggests.
- Bump PORTREVISION.

Prodded by:	dougb
2006-03-27 20:57:48 +00:00

22 lines
293 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: ike isakmpd
# REQUIRE: root mountcritlocal
# BEFORE: DAEMON
# KEYWORD: nojail
. %%RC_SUBR%%
name="isakmpd"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/${name}"
extra_commands="reload"
load_rc_config $name
: ${isakmpd_enable="NO"}
run_rc_command "$1"