diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-03-24 14:25:02 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-03-24 14:25:02 +0000 |
commit | 7d5ef3634df094ad469a28f2927e9c56d011701a (patch) | |
tree | 55a618f5828aa3082630bef05fb46b910dedefdc /ftp/pftpx | |
parent | c139494f6050458193611f7ab68cec50c68cd094 (diff) |
Notes
Diffstat (limited to 'ftp/pftpx')
-rw-r--r-- | ftp/pftpx/files/pftpx.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ftp/pftpx/files/pftpx.in b/ftp/pftpx/files/pftpx.in new file mode 100644 index 000000000000..8375fa93d330 --- /dev/null +++ b/ftp/pftpx/files/pftpx.in @@ -0,0 +1,25 @@ +#!/bin/sh +# +# PROVIDE: pftpx +# REQUIRE: DAEMON pf +# +# Add the following lines to /etc/rc.conf to enable pftpx: +# +# pftpx_enable (bool): Set to "YES" to enable pftpx. +# Default is "NO". +# pftpx_flags (flags): Set extra flags to pftpx. +# Default is "". See pftpx(8). +# + +. %%RC_SUBR%% + +name="pftpx" +rcvar=${name}_enable + +load_rc_config $name + +: ${pftpx_enable="NO"} + +command="%%PREFIX%%/sbin/pftpx" + +run_rc_command "$1" |