Update status.inc
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user