ports/net/smokeping/patches/patch-bin_tSmoke

12 lines
290 B
Text

Index: bin/tSmoke
--- bin/tSmoke.orig
+++ bin/tSmoke
@@ -63,7 +63,7 @@ use Pod::Usage;
use RRDs;
# Point to your Smokeping config file
-my $cfgfile = (shift @ARGV) || "$FindBin::Bin/../etc/config";
+my $cfgfile = (shift @ARGV) || "${SYSCONFDIR}/config";
# global variables
my $cfg;