Update status.inc

This commit is contained in:
2023-12-03 20:50:35 -06:00
parent 6d939b98ac
commit e3d681b9bd

View File

@@ -155,7 +155,10 @@ STATUS(){
DIVIDER . lightYellow; echo -e "${idsST[Reset]}"
fi
for nip in "${!var}"; do
[ "${ST_ACTION}" != "check" ] && echo -en " ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[Default]} - Verifying Host...${idsST[Reset]}"
if [ "${ST_ACTION}" != "check" ]; then
echo -en " ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[Default]}"
[ "${ST_ACTION}" != "report" ] && echo -en " - Verifying Host...$"
fi
if [[ "${RUN_NODE_IP}" == *"${nip}"* ]]; then
NCMD=''; LH='- localhost'
@@ -189,7 +192,7 @@ STATUS(){
fi
[ "${ST_ACTION}" != "check" ] && echo -e "\033[K\r ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[White]} - ${uptime} ${idsCL[LightYellow]}${LH}${idsCL[Default]}"
else
[ "${ST_ACTION}" != "check" ] && echo -e "\033[K\r ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[Default]}"
echo -e "${idsCL[Default]}"
fi
DIVIDER false lightCyan