Files
cariflex/tools/EVerest-main/modules/Misc/System/firmware_updater.sh
Eric F d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00

22 lines
366 B
Bash
Executable File

#!/bin/bash
. "${1}"
echo "$DOWNLOADING"
curl --progress-bar --ssl --connect-timeout "$CONNECTION_TIMEOUT" "${2}" -o "${3}"
curl_exit_code=$?
sleep 2
if [[ $curl_exit_code -eq 0 ]]; then
echo "$DOWNLOADED"
else
echo "$DOWNLOAD_FAILED"
fi
sleep 2
if [[ $curl_exit_code -eq 0 ]]; then
echo "$INSTALLING"
sleep 2
echo "$INSTALLED"
sleep 2
fi