Update nodemgmt-scripts.sh

This commit is contained in:
2019-11-24 16:49:05 -06:00
parent 02c4808ba8
commit 0ae4384c7d

View File

@@ -285,11 +285,9 @@ STATUS(){
c=0; cw=22; spc=''
spc1=${cw}-${#REPL_DESC[${rcheck}]}
if [ "${rcheck}" = "nextcloud-data" ] || [ "${rcheck}" = "nextcloud-www" ]; then
timeout=`date --date='2 minutes' +%s`
t='2min'
timeout=`date --date='1 minutes' +%s`
else
timeout=`date --date='20 seconds' +%s`
t='20secs'
fi
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -en " ${REPL_DESC[${rcheck}]}${spc}: "
@@ -301,9 +299,6 @@ STATUS(){
fi
fi
echo "TIMEOUT: ${rcheck} - ${t}"
checked=false
until [ "${checked}" = "" ]; do
if [ "${PH_CMD}" = "" ]; then