20 lines
549 B
Text
20 lines
549 B
Text
--- bin/tSmoke.orig 2021-11-14 17:05:16 UTC
|
|
+++ bin/tSmoke
|
|
@@ -53,7 +53,7 @@
|
|
# Point the lib variables to your implementation
|
|
|
|
use lib (split /:/, q{}); # PERL5LIB
|
|
-use FindBin;use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
|
|
+use lib "/usr/local/smokeping/lib";
|
|
|
|
|
|
use Smokeping;
|
|
@@ -63,7 +63,7 @@
|
|
use RRDs;
|
|
|
|
# Point to your Smokeping config file
|
|
-my $cfgfile = (shift @ARGV) || "$FindBin::Bin/../etc/config";
|
|
+my $cfgfile = "/usr/local/etc/smokeping/config";
|
|
|
|
# global variables
|
|
my $cfg;
|