blob: 4438846e54fd3b9985920199dc7f147e3f0f84cd (
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
|
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: ssltunnel
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# To enable ssltunnel, add the following line to rc.conf:
# ssltunnel_enable=yes
. /etc/rc.subr
name=ssltunnel
rcvar=ssltunnel_enable
load_rc_config ssltunnel
: ${ssltunnel_enable:=yes}
command="%%PREFIX%%/libexec/pppserver"
command_args="%%ETCDIR%%/tunnel.conf"
required_files="%%ETCDIR%%/tunnel.conf"
pidfile=/var/run/pppserver.pid
run_rc_command $1
|