summaryrefslogtreecommitdiff
path: root/ftp/pftpx/files/pftpx.in
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-03-24 14:25:02 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-03-24 14:25:02 +0000
commit7d5ef3634df094ad469a28f2927e9c56d011701a (patch)
tree55a618f5828aa3082630bef05fb46b910dedefdc /ftp/pftpx/files/pftpx.in
parentQ2-Relay is multi-view demo recording facility for Quake II. (diff)
- Forget to add rc.d script. Sorry.
PR: 92380 Notified by: Derkjan de Haan <derkjan__haanjdj.xs4all.nl>
Notes
Notes: svn path=/head/; revision=158068
Diffstat (limited to '')
-rw-r--r--ftp/pftpx/files/pftpx.in25
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"