blob: 8a53c94b4e44ddc96cbb5190ef422a764e999713 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: vpnc.sh,v 1.1 2012/10/01 00:41:27 khorben Exp $
#
# PROVIDE: vpnc
# REQUIRE: NETWORKING
[ -f /etc/rc.subr ] && . /etc/rc.subr
name="vpnc"
rcvar=$name
command="@PREFIX@/sbin/${name}"
pidfile="@VARBASE@/run/${name}.pid"
vpnc_flags="--pid-file ${pidfile}"
load_rc_config $name
run_rc_command "$1"
|