|
@@ -20,6 +20,22 @@ |
20 |
20 |
|
require 'logcheck.conf'; |
21 |
21 |
|
$mode="run"; |
22 |
22 |
|
|
|
23 |
+ |
if (defined($logcheckpath)) { |
|
24 |
+ |
|
|
25 |
+ |
print "There was change in the configuration starting from version 1.0.5!\n"; |
|
26 |
+ |
print "\n"; |
|
27 |
+ |
print '$file_whitelist=$logcheckpath."logcheck.whitelist"; is now'."\n"; |
|
28 |
+ |
print '$file_whitelist="logcheck.whitelist";'."\n"; |
|
29 |
+ |
print "\n"; |
|
30 |
+ |
print '$file_logfiles=$logcheckpath."logcheck.logfiles"; is now'."\n"; |
|
31 |
+ |
print '$file_logfilelist="logcheck.logfiles";'."\n"; |
|
32 |
+ |
print "\n"; |
|
33 |
+ |
print '$logcheckpath="/your/path/"; is now'."\n"; |
|
34 |
+ |
print '#$logcheckpath="/your/path/";'."\n"; |
|
35 |
+ |
print "\nPlease make these changes before you continue using logcheck.pl\n"; |
|
36 |
+ |
exit 1; |
|
37 |
+ |
} |
|
38 |
+ |
|
23 |
39 |
|
use File::Basename; |
24 |
40 |
|
use File::Spec; |
25 |
41 |
|
$dirname = File::Spec->rel2abs(dirname(__FILE__)); |
|
@@ -32,7 +48,7 @@ |
32 |
48 |
|
sub head() { |
33 |
49 |
|
print "\n"; |
34 |
50 |
|
print "-----------------------------\n"; |
35 |
|
- |
print "This is logcheck.pl V1.0.5\n"; |
|
51 |
+ |
print "This is logcheck.pl V1.0.6\n"; |
36 |
52 |
|
print "https://peters-webcorner.de\n"; |
37 |
53 |
|
print "project hosted on github\n"; |
38 |
54 |
|
print "https://github.com/pstimpel/logcheck\n\n"; |