#!/bin/sh # # $FreeBSD: ports/net/vtun/files/vtunclient.in,v 1.1 2007/02/26 11:03:15 miwi Exp $ # # PROVIDE: vtunclient # REQUIRE: DAEMON # # Add the following line to /etc/rc.conf to enable vtunclient: # # vtunclient_enable="YES" # vtunclient_flags=" " # vtunclient_enable=${vtunclient_enable:-"NO"} vtunclient_flags=${vtunclient_flags:-""} . /etc/rc.subr name=vtunclient rcvar=`set_rcvar` required_files="/usr/local/etc/vtund.conf" command=/usr/local/sbin/vtund load_rc_config $name run_rc_command "$1"