From: Stefan Schantl Date: Sun, 19 Oct 2014 12:07:56 +0000 (+0200) Subject: guardian: Update term to set a build-in function as enabled. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f93a60ffb7cae9848896b9f4367ea240fac1e0e;p=people%2Fstevee%2Fipfire-2.x.git guardian: Update term to set a build-in function as enabled. --- diff --git a/config/guardian/guardian.pl b/config/guardian/guardian.pl index 99723c88fa..5432d5d1ba 100644 --- a/config/guardian/guardian.pl +++ b/config/guardian/guardian.pl @@ -599,17 +599,17 @@ sub generate_monitored_files { my @files = (); # Add snort alert file if enabled. - if ($enable_snort eq "true" or $enable_snort eq "yes") { + if ($enable_snort eq "true" or $enable_snort eq "on") { push(@files, $alert_file); } # Add syslogfile for SSH monitoring if enabled. - if ($enable_ssh eq "true" or $enable_ssh eq "yes") { + if ($enable_ssh eq "true" or $enable_ssh eq "on") { push(@files, $syslogfile); } # Add httpd logfile if the monitoring should be enabled. - if ($enable_httpd eq "true" or $enable_httpd eq "yes") { + if ($enable_httpd eq "true" or $enable_httpd eq "on") { push(@files, $httpdlog_file); }