mrtg/run.sh
2024-02-18 13:28:35 +01:00

16 lines
233 B
Bash
Executable File

#!/bin/sh
/var/www/mrtg/scripts/getCryptocurrencies.sh
/var/www/mrtg/scripts/getEGLD.sh
/var/www/mrtg/scripts/getLXD.sh
MRTG="/usr/bin/mrtg"
CFGDIR="/var/www/mrtg/config"
for cfg in $CFGDIR/*.cfg;
do
LANG=C $MRTG "$cfg" &
done