Update mm-scripts.sh

This commit is contained in:
2023-04-23 21:23:51 -05:00
parent 9ca2e99390
commit 616b57fd7e

View File

@@ -14,6 +14,7 @@ source /opt/idssys/defaults/default.inc
source /opt/idssys/mediamanager/settings.conf source /opt/idssys/mediamanager/settings.conf
source /opt/idssys/mediamanager/defaults.inc source /opt/idssys/mediamanager/defaults.inc
[ -f ${MMFOLDER}/realwanip ] && source ${MMFOLDER}/realwanip [ -f ${MMFOLDER}/realwanip ] && source ${MMFOLDER}/realwanip
[ -f ${MMFOLDER}/vers.info ] && source ${MMFOLDER}/vers.info
if [ "${2}" == "q" ]; then if [ "${2}" == "q" ]; then
@@ -923,6 +924,12 @@ SHOWSRVCUPDATES(){
echo -e "${idsCL[LightGreen]}Beta Release : ${beta_ver}${idsCL[Default]}" echo -e "${idsCL[LightGreen]}Beta Release : ${beta_ver}${idsCL[Default]}"
fi fi
var=${NTYPE}_REPL_CHECK[@]
if [ ! -z ${!var+x} ]; then
cver=${usrvc}_VER
echo -e "${idsCL[LightGreen]}Current ver : ${!cver}${idsCL[Default]}"
# echo # echo
# echo ${latest_url} # echo ${latest_url}
# echo ${beta_url} # echo ${beta_url}