mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 08:49:15 -04:00
since rc.subr adds that already. In 3 cases it meant removing a wrongly specified TERM, since that is the default.
26 lines
376 B
Bash
26 lines
376 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: pptpd
|
|
# REQUIRE: DAEMON
|
|
#
|
|
# Add the following line to /etc/rc.conf to enable pptpd:
|
|
#
|
|
# pptpd_enable="YES"
|
|
#
|
|
|
|
pptpd_enable=${pptpd_enable-"NO"}
|
|
pptpd_flags=${pptpd_flags-""}
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name=pptpd
|
|
rcvar=`set_rcvar`
|
|
|
|
command=%%PREFIX%%/sbin/${name}
|
|
pidfile=/var/run/${name}.pid
|
|
sig_stop=KILL
|
|
|
|
load_rc_config ${name}
|
|
run_rc_command "$1"
|