Update status.inc
This commit is contained in:
@@ -187,8 +187,7 @@ STATUS(){
|
|||||||
uptime=$(${NCMD} uptime -p)
|
uptime=$(${NCMD} uptime -p)
|
||||||
|
|
||||||
fi
|
fi
|
||||||
[ "${ST_ACTION}" != "check" ] && echo -en "\033[K\r ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}"
|
[ "${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]}"
|
||||||
echo -e "${idsCL[White]} - ${uptime} ${idsCL[LightYellow]}${LH}${idsCL[Default]}"
|
|
||||||
else
|
else
|
||||||
[ "${ST_ACTION}" != "check" ] && echo -e "\033[K\r ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[Default]}"
|
[ "${ST_ACTION}" != "check" ] && echo -e "\033[K\r ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user