summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-05 03:24:11 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-05 03:24:11 +0000
commit9b91947fb68608433ca350da8dd8acf772073af0 (patch)
tree8b2b60ac9dc0d1d42feff3a8c1538fc60a5e70c3 /etc/inc
parenta81e832e9ecad4ef67f5606015341af693658ea2 (diff)
downloadpfsense-9b91947fb68608433ca350da8dd8acf772073af0.zip
pfsense-9b91947fb68608433ca350da8dd8acf772073af0.tar.gz
Run FTP helpers. Really!
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/filter.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index c36752e..f5fdc5a 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -604,7 +604,8 @@ function filter_nat_rules_generate() {
*/
if($target <> "") {
if($extport[0] == "21" and !$config['system']['disableftpproxy']) {
- $helpers = exec("ps awux | grep pftpx | grep {$target}");
+ $helpers = exec("ps aux | grep pftpx | grep {$target}");
+ echo "{$helpers}\n";
if(!$helpers)
mwexec_bg("/usr/local/sbin/pftpx -c 21 -f {$target} -g 21");
}
OpenPOWER on IntegriCloud