mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 02:49:14 -04:00
We have not checked for this KEYWORD for a long time now, so this is a complete noop, and thus no PORTREVISION bump. Removing it at this point is mostly for pedantic reasons, and partly to avoid perpetuating this anachronism by copy and paste to future scripts.
26 lines
462 B
Bash
26 lines
462 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: vtunclient
|
|
# REQUIRE: DAEMON
|
|
#
|
|
# Add the following line to /etc/rc.conf to enable vtunclient:
|
|
#
|
|
# vtunclient_enable="YES"
|
|
# vtunclient_flags="<session> <server address>"
|
|
#
|
|
|
|
vtunclient_enable=${vtunclient_enable:-"NO"}
|
|
vtunclient_flags=${vtunclient_flags:-""}
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name=vtunclient
|
|
rcvar=`set_rcvar`
|
|
required_files="%%PREFIX%%/etc/vtund.conf"
|
|
|
|
command=%%PREFIX%%/sbin/vtund
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|