Update status.inc
This commit is contained in:
@@ -171,7 +171,7 @@ STATUS(){
|
||||
# echo "HERE: $checkhost - $checkhostssl"
|
||||
if [ "${checkhost}" != "false" ] && [ "${checkhostssl}" == "ok" ]; then
|
||||
if [ "${ST_ACTION}" != "check" ]; then
|
||||
[ "${ST_ACTION}" != "check" ] && echo -en "\033[K ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}"
|
||||
[ "${ST_ACTION}" != "check" ] && echo -en "\033[1A\033[K\r ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}"
|
||||
if ([ "${ST_ACTION}" == "report" ] && [ "${2}" == "email" ]) || [ "${ST_ACTION}" != "report" ]; then
|
||||
if [ "${NTYPE}" == "OFW" ]; then
|
||||
uptime=$(${NCMD} uptime | awk '{print $3}' | cut -d, -f1)
|
||||
|
||||
Reference in New Issue
Block a user