Update run.sh

This commit is contained in:
2023-10-22 19:03:19 -05:00
parent 042d8632ca
commit 4134ea72dd

2
run.sh
View File

@@ -6,6 +6,8 @@ source /opt/idssys/defaults/default.inc
source /opt/idssys/powerwall/defaults.inc
source /opt/idssys/powerwall/settings.conf
[ ! -f /usr/local/bin/pw ] && ln -s /opt/idssys/powerwall/run.sh /usr/local/bin/pw
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