- 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
22 lines
366 B
Bash
Executable File
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
|