2023-03-27 13:03:52 +03:00
|
|
|
--- a/lightparser.pl 2013-12-25 13:06:21.375580481 +0400
|
|
|
|
+++ b/lightparser.pl 2013-12-25 13:07:04.339580830 +0400
|
2015-07-24 13:42:18 +03:00
|
|
|
@@ -32,11 +32,11 @@
|
|
|
|
|
|
|
|
push (@INC,(fileparse($0))[1]);
|
|
|
|
|
|
|
|
-require "lightsquid.cfg";
|
|
|
|
-require "common.pl";
|
|
|
|
+require "/etc/lightsquid/lightsquid.cfg";
|
|
|
|
+require "/usr/share/lightsquid/common.pl";
|
|
|
|
|
|
|
|
#include ip2name function
|
|
|
|
-require "ip2name/ip2name.$ip2name";
|
|
|
|
+require "$ip2namepath/ip2name.$ip2name";
|
|
|
|
|
|
|
|
$SIG{INT} = \&LOCKREMOVER; # traps keyboard interrupt
|
|
|
|
my $lockfilepath ="$lockpath/lockfile";
|