From 4134ea72ddd5d96021925df0d0d886be544f3a60 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 22 Oct 2023 19:03:19 -0500 Subject: [PATCH] Update run.sh --- run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run.sh b/run.sh index 9181ee0f..de428fc1 100755 --- a/run.sh +++ b/run.sh @@ -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