diff options
Diffstat (limited to 'ftp/ftp-proxy/files/ftp-proxy.in')
-rw-r--r-- | ftp/ftp-proxy/files/ftp-proxy.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ftp/ftp-proxy/files/ftp-proxy.in b/ftp/ftp-proxy/files/ftp-proxy.in new file mode 100644 index 000000000000..2964fa4ef1c1 --- /dev/null +++ b/ftp/ftp-proxy/files/ftp-proxy.in @@ -0,0 +1,25 @@ +#!/bin/sh +# +# PROVIDE: ftp-proxy +# REQUIRE: DAEMON pf +# +# Add the following lines to /etc/rc.conf to enable ftp-proxy: +# +# ftpproxy_enable (bool) Set to "YES" to enable ftp-proxy. +# Default is "NO". +# ftpproxy_flags (flags): Set extra flags to ftp-proxy. +# Default is "". See ftp-proxy(8). +# + +. %%RC_SUBR%% + +name="ftpproxy" +rcvar=${name}_enable + +load_rc_config $name + +: ${ftpproxy_enable="NO"} + +command="%%PREFIX%%/sbin/ftp-proxy" + +run_rc_command "$1" |