blob: e2309afe468b60f33978b3a69eb5391730af85f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
#
# PROVIDE: vpnd
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: 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"
|