Update status.inc

This commit is contained in:
2023-05-22 22:17:11 -05:00
parent 74879c1175
commit 5deb21b374

View File

@@ -46,11 +46,11 @@ STATUS(){
if [ "${ST_ACTION}" != "check" ]; then
lip=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
uptime=`uptime -p`
echo
DIVIDER
echo -e "\n$(DIVIDER)${idsCL[Yellow]} ${NODE_HOSTNAME} Service Status -localhost-${idsCL[Default]}"
# echo
# DIVIDER
echo -e " ${idsCL[LightCyan]}${uptime}${idsCL[Default]}\n"
echo -e "\n$(DIVIDER)\n${idsCL[Yellow]} ${NODE_HOSTNAME} Service Status -localhost-${idsCL[Default]}"
# DIVIDER
echo -e "\n$(DIVIDER)\n ${idsCL[LightCyan]}${uptime}${idsCL[Default]}\n"
fi
# if [ "${ST_ACTION}" != "check" ]; then
# lip=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)