Update nodemgmt-scripts.sh

This commit is contained in:
2019-03-06 13:09:24 -06:00
parent 657c68d75e
commit 6f0fa1c367

View File

@@ -36,13 +36,13 @@ STATUS(){
echo -e "${idsCL[LightCyan]}Setting up status checks...${idsCL[Default]}"
echo
fi
if [ ! -z ${LOCAL_SERVICES+x} ]; then
# if [ ! -z ${LOCAL_SERVICES+x} ]; then
NHCMD="ssh root@${NODE_HOSTS[0]}"
WHCMD="ssh root@${WEB_HOSTS[0]}"
echo "HERE: '${NHCMD}' '${WHCMD}'"
else
NHCMD=''
fi
# else
# NHCMD=''
# fi
for rcheck in "${NODE_REPL_CHECK[@]}"; do
${NHCMD} rm -f ${FOLDER}/test.repl
daterun=`date +%Y-%m-%d-%H-%M-%S`