Update run.sh

This commit is contained in:
2023-03-28 21:30:03 -05:00
parent 916fb68999
commit 071bfa6bab

2
run.sh
View File

@@ -5,7 +5,7 @@ source /opt/idssys/defaults/colors.inc
source /opt/idssys/defaults/default.inc
source /opt/idssys/powerwall/powerwall.conf
if [[ "${noupdate}" != *" ${1} "* ]] && [[ "${noupdate}" != *" ${2} "* ]]; then
if [[ "${noupdate}" != *" ${1} "* ]] && [[ "${noupdate}" != *" ${2} "* ]] && [[ "${1}" != *"service"* ]] && [[ "${2}" != *"service"* ]]; 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]}"