Update run.sh
This commit is contained in:
2
run.sh
2
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
|
||||
|
||||
Reference in New Issue
Block a user