proper code being added again

This commit is contained in:
Jack Greyhat
2021-01-26 15:56:07 +01:00
parent a6a2ddb8d0
commit 89a40eb6e0
3 changed files with 31 additions and 12 deletions

View File

@ -3,7 +3,7 @@
# LibreNMS Speedtest plugin #
#############################
# Main plugin dir
SpeedtestPluginDir=/opt/librenms/html/plugins
SpeedtestPluginDir=/opt/librenms/html/plugins/Speedtest
# Other data dirs
RRDGraphsDir=$SpeedtestPluginDir/rrd
PNGImagesDir=$SpeedtestPluginDir/png
@ -305,9 +305,6 @@ SpeedtestResultDir=$SpeedtestPluginDir/tmp
-c FONT#000000 \
--font LEGEND:8:DejaVuSansMono \
--font AXIS:7:DejaVuSansMono > /dev/null 2>&1
# Move PNGs to the LibreNMS plugin location
cp $PNGImagesDir/*.png /opt/librenms/html/plugins/Speedtest/png
;;
(*)