summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-14 20:08:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-14 20:08:17 +0000
commit8c47279e75c596489fa392939ca6b4f8797ab200 (patch)
tree17bbda5f5a40a6ce686166da3016d933445178b5 /etc
parent0192adaf1b57e936a2bed1b0babb5f4ca86e06be (diff)
downloadpfsense-8c47279e75c596489fa392939ca6b4f8797ab200.zip
pfsense-8c47279e75c596489fa392939ca6b4f8797ab200.tar.gz
Echo which port we are starting on during boot for ftp helper
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 5eeaa29..22977de 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1218,8 +1218,10 @@ function system_start_ftp_helpers() {
$ip = find_interface_ip(convert_friendly_interface_to_real_interface_name($ifname));
/* if pftpx is already running then do not launch it again */
$helpers = exec("ps awux | grep \"/usr/local/sbin/pftpx -c {$port}\" | grep -v grep | sed \"s/ */ /g\"");
- if(!$helpers && $ip)
+ if(!$helpers && $ip) {
+ echo "$port ";
mwexec("/usr/local/sbin/pftpx -c {$port} -g 8021 {$ip}");
+ }
$interface_counter++;
}
}
OpenPOWER on IntegriCloud