View | Details | Raw Unified | Return to bug 143085
Collapse All | Expand All

(-)/etc/rc.d/ftp-proxy 2010-01-22 13:16:01.000000000 -0200 (+16 lines)
Lines 14-17 Link Here
14
command="/usr/sbin/ftp-proxy"
14
command="/usr/sbin/ftp-proxy"
15
15
16
load_rc_config $name
16
load_rc_config $name
17
18
start_cmd=start_func
19
20
start_func()
21
{
22
       if [ ${#ftpproxy_exec} = "0" ]
23
       then
24
               $command $ftpproxy_flags
25
       else
26
               for exec in $ftpproxy_exec ; do
27
                       eval args_exec=\$ftpproxy_$exec
28
                       $command $args_exec
29
               done
30
       fi
31
}
32
17
run_rc_command "$1"
33
run_rc_command "$1"
(-)/etc/defaults/rc.conf 2010-01-22 13:12:03.000000000 -0200 (+3 lines)
Lines 174-179 Link Here
174
pflog_flags=""                 # additional flags for pflogd
174
pflog_flags=""                 # additional flags for pflogd
175
ftpproxy_enable="NO"           # Set to YES to enable ftp-proxy(8) for pf
175
ftpproxy_enable="NO"           # Set to YES to enable ftp-proxy(8) for pf
176
ftpproxy_flags=""              # additional flags for ftp-proxy(8)
176
ftpproxy_flags=""              # additional flags for ftp-proxy(8)
177
#ftpproxy_exec="exec1 exec2"    # multiple instances of ftp-proxy.
178
#ftpproxy_exec1=""              # first instance
179
#ftpproxy_exec2="-p8010 -R host"# second instance
177
pfsync_enable="NO"             # Expose pf state to other hosts for syncing
180
pfsync_enable="NO"             # Expose pf state to other hosts for syncing
178
pfsync_syncdev=""              # Interface for pfsync to work through
181
pfsync_syncdev=""              # Interface for pfsync to work through
179
pfsync_syncpeer=""             # IP address of pfsync peer host
182
pfsync_syncpeer=""             # IP address of pfsync peer host

Return to bug 143085