Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-04 22:03:03 -06:00
parent ea5c9fc27e
commit 87f0566e4a

View File

@@ -20,7 +20,7 @@ source /opt/idssys/nodemgmt/defaults.inc
STATUS() { STATUS() {
if [ ! -z ${LOCAL_SERVICES+x} ]; then if [ ! -z ${LOCAL_SERVICES+x} ]; then
lip=$(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1) lip=$(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1)
DIVIDER true #DIVIDER true
echo -e "Node hostname: ${idsST[Bold]}${idsCL[LightCyan]}${NODE_HOSTNAME} (${lip})${idsST[Reset]}${idsCL[LightCyan]} - localhost${idsCL[Default]}" echo -e "Node hostname: ${idsST[Bold]}${idsCL[LightCyan]}${NODE_HOSTNAME} (${lip})${idsST[Reset]}${idsCL[LightCyan]} - localhost${idsCL[Default]}"
for srvc in "${LOCAL_SERVICES[@]}" for srvc in "${LOCAL_SERVICES[@]}"
do do
@@ -84,7 +84,7 @@ CERTRENEW(){
} }
LISTCERTS(){ LISTCERTS(){
DIVIDER true #DIVIDER true
echo here echo here
if [ -z $action ] || [ "${action}" = "gui" ]; then if [ -z $action ] || [ "${action}" = "gui" ]; then
ENTER2CONTINUE ENTER2CONTINUE