mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
a63390009c
- replace pkg-plist with PORTDOCS and PLIST_FILES - add USE_RC_SUBR support - rndcontrol retired on 5.x already, so only show messages on 4.x PR: 73317 Submitted by: leeym Approved by: maintainer timeout
25 lines
460 B
Bash
25 lines
460 B
Bash
#!/bin/sh
|
|
#
|
|
# PROVIDE: vpnd
|
|
# REQUIRE: NETWORKING SERVERS
|
|
# BEFORE: DAEMON
|
|
# KEYWORD: FreeBSD shutdown
|
|
#
|
|
# Note:
|
|
# Set "vpnd_enable=yes" in either /etc/rc.conf, /etc/rc.conf.local or
|
|
# /etc/rc.conf.d/vpnd to make this script actually do something.
|
|
#
|
|
# Please see rc.conf(5) and rc(8) for further details.
|
|
#
|
|
|
|
vpnd_enable=${vpnd_enable:-"NO"}
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=vpnd
|
|
command=/usr/local/sbin/vpnd
|
|
rcvar=`set_rcvar`
|
|
load_rc_config ${name}
|
|
|
|
run_rc_command "$1"
|