diff --git a/defaults.inc b/defaults.inc index 0f9d476..478651e 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='3.8.139-04232023' +VERS='3.8.140-04232023' MMFOLDER="/opt/idssys/mediamanager" MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) @@ -12,7 +12,7 @@ IFS=, UPDATE_SERVICES=(${UPDATESERVICES}) unset IFS -noheader=' check noup stop update-organizr ' +noheader=' check noup update update-organizr ' logfile=${MMFOLDER}/logs/logfile outputlogfile=${MMFOLDER}/logs/outputs.check.log diff --git a/mm-scripts.sh b/mm-scripts.sh index 019a550..9917ca8 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -26,7 +26,7 @@ fi [ -f ${MMFOLDER}/vpninfo ] && source ${MMFOLDER}/vpninfo -if [ "${action}" != "check" ] && [ "${action}" != "update" ] && [ "${2}" != "noup" ]; then +if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then if [ -f ${MMFOLDER}/update.available ]; then dispup="${idsCL[Yellow]} - Update Available! (run '${idsCL[LightCyan]}mm update${idsCL[Yellow]}')${idsCL[Default]}" else