File mrtg-icons_path.patch of Package mrtg
diff -Nur mrtg-2.17.10/bin/indexmaker new/bin/indexmaker
--- mrtg-2.17.10/bin/indexmaker 2022-01-19 11:25:15.000000000 +0100
+++ new/bin/indexmaker 2022-01-23 15:34:10.582199546 +0100
@@ -294,7 +294,7 @@
#lets make sure there is a trailing path separator
$gifPath =~ s|/*$|/|;
} else {
- $gifPath = "$$cfg{imagehtml}";
+ $gifPath = "/icons/";
}
diff -Nur mrtg-2.17.10/bin/mrtg new/bin/mrtg
--- mrtg-2.17.10/bin/mrtg 2022-01-19 11:25:15.000000000 +0100
+++ new/bin/mrtg 2022-01-23 15:33:12.770006828 +0100
@@ -1953,7 +1953,7 @@
#lets make sure there is a trailing path separator
$gifPath =~ s|/*$|/|;
} else {
- $gifPath = "$dirrel$$cfg{imagehtml}";
+ $gifPath = "/icons/";
}
print HTML<<TEXT;