View | Details | Raw Unified | Return to bug 92380
Collapse All | Expand All

(-)pftpx/Makefile (+1 lines)
Lines 18-23 Link Here
18
MAN8=		pftpx.8
18
MAN8=		pftpx.8
19
19
20
PLIST_FILES=	sbin/pftpx
20
PLIST_FILES=	sbin/pftpx
21
USE_RC_SUBR=	pftpx.sh
21
22
22
.include <bsd.port.pre.mk>
23
.include <bsd.port.pre.mk>
23
24
(-)pftpx/files/pftpx.sh.in (+25 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# PROVIDE: pftpx
4
# REQUIRE: DAEMON pf
5
6
#
7
# Add the following lines to /etc/rc.conf to enable pftpx:
8
#
9
# pftpx_enable="YES"	# YES or NO (default)
10
# pftpx_flags=""	# pftpx command line flags
11
#
12
13
. %%RC_SUBR%%
14
15
name="pftpx"
16
rcvar=`set_rcvar`
17
18
load_rc_config $name
19
20
: ${pftpx_enable="NO"}
21
: ${pftpx_flags=""}
22
23
command="%%PREFIX%%/sbin/${name}"
24
25
run_rc_command "$1"

Return to bug 92380