blob: 2964fa4ef1c14a3e60f2ff3b801effc000989869 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"
|