blob: 375b5f60d8899450da27ce8c5939db413c8abe57 (
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
|
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: pptpd
# REQUIRE: DAEMON
#
# Add the following lines to /etc/rc.conf to enable pptpd:
#
# pptpd_enable="YES"
# pptpd_flags="<set as needed>"
pptpd_enable=${pptpd_enable-"NO"}
. /etc/rc.subr
name=pptpd
rcvar=pptpd_enable
command=%%PREFIX%%/sbin/${name}
pidfile=/var/run/${name}.pid
sig_stop=KILL
load_rc_config ${name}
run_rc_command "$1"
|