From 3ae4f77113e369b234271b721028811bd59bd55a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 10 Dec 2019 22:45:21 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 10032c28..8647b784 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -284,19 +284,19 @@ STATUS(){ if [ "${ST_ACTION}" != "check" ]; then c=0; cw=22; spc='' spc1=${cw}-${#REPL_DESC[${rcheck}]} - if [ "${rcheck}" = "nextcloud-data" ] || [ "${rcheck}" = "nextcloud-www" ]; then - timeout=`date --date='5 minutes' +%s` - else + # if [ "${rcheck}" = "nextcloud-data" ] || [ "${rcheck}" = "nextcloud-www" ]; then + # timeout=`date --date='2 minutes' +%s` + # else timeout=`date --date='20 seconds' +%s` - fi + # fi until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${REPL_DESC[${rcheck}]}${spc}: " else - if [ "${rcheck}" = "nextcloud-data" ] OR [ "${rcheck}" = "nextcloud-www" ]; then - timeout=`date --date='5 minutes' +%s` - else + # if [ "${rcheck}" = "nextcloud-data" ] OR [ "${rcheck}" = "nextcloud-www" ]; then + # timeout=`date --date='5 minutes' +%s` + # else timeout=`date --date='1 minutes' +%s` - fi + # fi fi checked=false