blob: 1a9844fbf350bd9a9f1b528ffb1c3e644d1a0f33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#!/bin/sh
#
# Startup script for frickin PPTP proxy.
#
# $FreeBSD$
#
# REQUIRE: DAEMON
# Define these frickin_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
# /etc/rc.conf.d/frickin
#
# frickin_enable : bool
# Enable the transport ("YES") or not ("NO", the default).
# frickin_config : string
# Path to config file
#
frickin_enable=${frickin_enable-"NO"}
frickin_conf=${frickin_conf-""}
. %%RC_SUBR%%
name="frickin"
rcvar=`set_rcvar`
load_rc_config ${name}
command="%%PREFIX%%/sbin/${name}2"
if [ ! -z "${frickin_conf}" -a -f ${frickin_conf} ]; then
frickin_flags="-c ${frickin_conf}"
fi
run_rc_command "$1"
|