This commit is contained in:
2022-09-11 16:05:14 -05:00
parent d2aa4838fe
commit a1ca3d8bc3
3 changed files with 3 additions and 37 deletions

7
run.sh
View File

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