Update run.sh

This commit is contained in:
2023-06-24 14:12:23 -05:00
parent ae6ed27090
commit fa53746e4d

2
run.sh
View File

@@ -6,7 +6,7 @@ source /opt/idssys/defaults/default.inc
source /opt/idssys/powerwall/defaults.inc
source /opt/idssys/powerwall/powerwall.conf
if [ "${1}" == "update" ] || [ "${1}" == "" ]; then
if [ "${1}" == "update" ]; then
if curl -m 5 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
if [ "${2}" != "q" ]; then
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"