fhem.sh - add step to download latest speedtest python script

This commit is contained in:
2022-03-09 22:20:00 +01:00
parent 57a986fe40
commit efac859fac

View File

@@ -135,6 +135,14 @@ Package: libxml-stream-perl
Pin: version 1.23-2
Pin-Priority: 1000"
step_37_info() { echo "Download latest speedtest python script"; }
step_37_alias() { ALIAS="speedtestdownload"; }
step_37() {
local lSpeedPath="/usr/local/bin/speedtest-cli"
exe wget -O "$lSpeedPath" https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
exe chmod +x "$lSpeedPath"
}
step_40_info() { echo "Execute fhem [COMMAND]"; }
step_40_alias() { ALIAS="exe"; }
step_40() {