opnsense-ports/net-mgmt/smokeping/files/patch-bin-tSmoke

22 lines
527 B
Plaintext

--- bin/tSmoke.orig 2012-05-14 14:54:55.388873689 +0200
+++ bin/tSmoke 2012-05-14 14:56:15.881875827 +0200
@@ -53,8 +53,7 @@
# Point the lib variables to your implementation
use FindBin;
# PERL5LIB
-use lib "$FindBin::Bin/../thirdparty/lib/perl5";
-use lib "$FindBin::Bin/../lib";
+use lib "%%PREFIX%%/smokeping/lib";
use Smokeping;
use Net::SMTP;
@@ -63,7 +62,7 @@
use RRDs;
# Point to your Smokeping config file
-my $cfgfile = "etc/config.dist";
+my $cfgfile = "%%ETCDIR%%/config";
# global variables
my $cfg;