Update run.sh
This commit is contained in:
2
run.sh
2
run.sh
@@ -5,7 +5,7 @@ source /opt/idssys/defaults/colors.inc
|
||||
source /opt/idssys/defaults/default.inc
|
||||
source /opt/idssys/powerwall/powerwall.conf
|
||||
|
||||
if [ "${1}" == "update" ]; then
|
||||
if [ "${1}" == "update" ] || [ "${action}" == "" ]; then
|
||||
if curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
|
||||
if [ "${2}" != "q" ]; then
|
||||
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user