Update run.sh

This commit is contained in:
2023-05-15 20:14:38 -05:00
parent d5c9f81b83
commit c4a2885b08

2
run.sh
View File

@@ -7,7 +7,7 @@ source /opt/idssys/powerwall/defaults.inc
source /opt/idssys/powerwall/powerwall.conf
if [ "${1}" == "update" ] || [ "${1}" == "" ]; then
if curl -m 15 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; 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]}"
echo ""