#!/bin/sh
#
# $FreeBSD: ports/net/vtun/files/vtund.in,v 1.1 2007/02/26 11:03:15 miwi Exp $
#
# PROVIDE: vtund
# REQUIRE: DAEMON
#
# Add the following line to /etc/rc.conf to enable vtund:
#
# vtund_enable="YES"
#

vtund_enable=${vtund_enable:-"NO"}
vtund_flags=${vtund_flags:-"-s"}

. /etc/rc.subr

name=vtund
rcvar=`set_rcvar`
required_files="/usr/local/etc/vtund.conf"

command=/usr/local/sbin/vtund

load_rc_config $name
run_rc_command "$1"


syntax highlighted by Code2HTML, v. 0.9.1