diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-06 23:25:22 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-06 23:25:22 +0000 |
commit | db4575ad637b96a23ef76ed5a8286c5dd722ff60 (patch) | |
tree | 54c81c8d316339d4e25770c9a40bca78143bf1a0 /etc | |
parent | d96e7a05ad1a81b665729d6eb0441642d3d3be87 (diff) | |
download | pfsense-db4575ad637b96a23ef76ed5a8286c5dd722ff60.zip pfsense-db4575ad637b96a23ef76ed5a8286c5dd722ff60.tar.gz |
Sleep 2 seconds before sampling again if pftp is started
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 4dd5fc6..cd53a05 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1151,6 +1151,7 @@ function system_start_ftp_helpers() { if(!is_process_running("pftpx")) { mwexec("/usr/local/sbin/pftpx -g 8021"); if(!is_process_running("pftpx")) { + sleep(2); log_error("Could not start PFTPX with command {$command}"); file_notice("FTP Proxy Startup Error", "PFTPX failed to start. NOTE: FTP clients may not function correctly.", "", ""); } |