SwordArMor-gentoo-overlay/net-analyzer/smokeping/files/smokeping-2.7.3-smokeping_cgi-config.patch

14 lines
337 B
Diff
Raw Normal View History

--- a/bin/smokeping_cgi 2021-08-09 21:48:18.202816587 +0200
+++ b/bin/smokeping_cgi 2021-08-09 21:48:57.489227779 +0200
@@ -17,8 +17,7 @@
use CGI::Fast;
-my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
-
+my $cfg = (shift @ARGV) || "/etc/smokeping/config";
while (my $q = new CGI::Fast) {
Smokeping::cgi($cfg,$q);