opnsense-ports/net-mgmt/smokeping/files/patch-bin_tSmoke

21 lines
550 B
Plaintext

--- bin/tSmoke.orig 2018-02-02 21:14:55 UTC
+++ bin/tSmoke
@@ -53,7 +53,7 @@ use warnings;
# 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 Pod::Usage;
use RRDs;
# Point to your Smokeping config file
-my $cfgfile = "etc/config.dist";
+my $cfgfile = "/usr/local/etc/smokeping/config";
# global variables
my $cfg;