Update status.inc
This commit is contained in:
@@ -48,9 +48,9 @@ STATUS(){
|
|||||||
uptime=`uptime -p`
|
uptime=`uptime -p`
|
||||||
# echo
|
# echo
|
||||||
# DIVIDER
|
# DIVIDER
|
||||||
echo -e "\n$(DIVIDER)\n${idsCL[Yellow]} ${NODE_HOSTNAME} Service Status -localhost-${idsCL[Default]}"
|
echo -e "\n$(DIVIDER)\n${idsCL[Yellow]} ${idsST[Bold]}${NODE_HOSTNAME}${idsST[Reset]} Service Status -localhost-${idsCL[Default]}"
|
||||||
# DIVIDER
|
# DIVIDER
|
||||||
echo -e "\n$(DIVIDER)\n ${idsCL[LightCyan]}${uptime}${idsCL[Default]}\n"
|
echo -e "$(DIVIDER)\n ${idsCL[LightCyan]}${uptime}${idsCL[Default]}\n"
|
||||||
fi
|
fi
|
||||||
# if [ "${ST_ACTION}" != "check" ]; then
|
# if [ "${ST_ACTION}" != "check" ]; then
|
||||||
# lip=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
# lip=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
||||||
|
|||||||
Reference in New Issue
Block a user