From 8c47279e75c596489fa392939ca6b4f8797ab200 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 14 Nov 2005 20:08:17 +0000 Subject: Echo which port we are starting on during boot for ftp helper --- etc/inc/config.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'etc') 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++; } } -- cgit v1.1