aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-03-24 22:25:02 +0800
committermnag <mnag@FreeBSD.org>2006-03-24 22:25:02 +0800
commit32f21346db88bb26175bbd59924d559fce0c600c (patch)
treeab4b463a2a64a6dc190475447433005487aa92d9
parent28fc83f5acdb03fb02fc7f7d55ee308bfa97525f (diff)
downloadfreebsd-ports-gnome-32f21346db88bb26175bbd59924d559fce0c600c.tar.gz
freebsd-ports-gnome-32f21346db88bb26175bbd59924d559fce0c600c.tar.zst
freebsd-ports-gnome-32f21346db88bb26175bbd59924d559fce0c600c.zip
- Forget to add rc.d script. Sorry.
PR: 92380 Notified by: Derkjan de Haan <derkjan__haanjdj.xs4all.nl>
-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"