diff options
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r-- | etc/inc/config.inc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 9de1ec5..927dc5f 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1757,12 +1757,14 @@ function system_start_ftp_helpers() { } } if($sourcenat == 0) { - log_error("Config: No AON rule matched for interface {$ifname} - not using FTP proxy"); + if($g['debug']) + log_error("Config: No AON rule matched for interface {$ifname} - not using FTP proxy"); mwexec("/usr/local/sbin/ftpsesame -i $int"); $interface_counter++; continue; } else { - log_error("Config: AON rule matched for interface {$ifname} - using FTP proxy"); + if($g['debug']) + log_error("Config: AON rule matched for interface {$ifname} - using FTP proxy"); } } /* if pftpx is already running then do not launch it again */ @@ -1961,4 +1963,4 @@ function set_device_perms() { if($g['booting']) echo "."; $config = parse_config(); -?>
\ No newline at end of file +?> |