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