summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-21 04:41:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-21 04:41:00 +0000
commitb9f4a5f43bf0f2be81c845393585fff9fd8cfbc7 (patch)
tree489414df50a353ece8f4bc2157cf55ec0e09186f /etc/inc
parentcd2599938a77d782e929f2941e953db028b173b2 (diff)
downloadpfsense-b9f4a5f43bf0f2be81c845393585fff9fd8cfbc7.zip
pfsense-b9f4a5f43bf0f2be81c845393585fff9fd8cfbc7.tar.gz
Just check for lack of ip to run ftpsesame.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/config.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 3bd667e..6cccc3f 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1346,7 +1346,7 @@ function system_start_ftp_helpers() {
$helpers = exec("/bin/ps awux | grep \"/usr/local/sbin/pftpx -c {$port}\" | grep -v grep | sed \"s/ */ /g\"");
if(!$helpers && $ip)
mwexec("/usr/local/sbin/pftpx -c {$port} -g 8021 {$ip}");
- if(!$helpers && !$ip)
+ if(!$ip)
mwexec("/usr/local/sbin/ftpsesame -i $int");
$interface_counter++;
}
OpenPOWER on IntegriCloud