Update run.sh

This commit is contained in:
2023-10-22 21:26:57 -05:00
parent 8197d5b7c2
commit a97402b289

2
run.sh
View File

@@ -6,8 +6,6 @@ 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