pinkbyte-overlay/net-analyzer/lightsquid/files/lightsquid-1.8-path-fix.patch

18 lines
515 B
Diff
Raw Permalink Normal View History

--- 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";