]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
guardian: Update term to set a build-in function as enabled.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Oct 2014 12:07:56 +0000 (14:07 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Oct 2014 12:07:56 +0000 (14:07 +0200)
config/guardian/guardian.pl

index 99723c88fa95ca6c6c0c35943c053222f3f75540..5432d5d1bac7b9157624968ee493d15594ce9ebc 100644 (file)
@@ -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);
        }