22 lines
558 B
Text
22 lines
558 B
Text
--- bin/smokeping_cgi.orig 2021-11-14 17:05:16 UTC
|
|
+++ bin/smokeping_cgi
|
|
@@ -4,9 +4,8 @@
|
|
use strict;
|
|
use warnings;
|
|
|
|
-use FindBin;
|
|
use lib (split /:/, q{}); # PERL5LIB
|
|
-use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
|
|
+use lib "/usr/local/smokeping/lib";
|
|
|
|
# don't bother with zombies
|
|
$SIG{CHLD} = 'IGNORE';
|
|
@@ -17,7 +16,7 @@
|
|
|
|
use CGI::Fast;
|
|
|
|
-my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
|
|
+my $cfg = (shift @ARGV) || "/usr/local/etc/smokeping/config";
|
|
|
|
|
|
while (my $q = new CGI::Fast) {
|