This commit is contained in:
2023-05-15 12:05:27 -05:00
parent 51e449d82e
commit ed4beac5a9
2 changed files with 31 additions and 26 deletions

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 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
if curl -m 15 -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 ""