Update nodemgmt-scripts.sh
This commit is contained in:
@@ -77,7 +77,7 @@ STATUS(){
|
||||
fi
|
||||
for srvc in "${LOCAL_SERVICES[@]}"; do
|
||||
if [ "${ST_ACTION}" != "check" ]; then
|
||||
c=0; cw=26; spc=''
|
||||
c=0; cw=30; spc=''
|
||||
spc1=${cw}-${#NM_SERVICES[${srvc}]}
|
||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
||||
@@ -166,7 +166,7 @@ STATUS(){
|
||||
fi
|
||||
if [ ${NOGOCHK} = true ]; then
|
||||
if [ "${ST_ACTION}" != "check" ]; then
|
||||
c=0; cw=26; spc=''
|
||||
c=0; cw=30; spc=''
|
||||
spc1=${cw}-${#NM_SERVICES[${srvc}]}
|
||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
||||
@@ -284,7 +284,7 @@ STATUS(){
|
||||
# timeout=`date --date='20 seconds' +%s`
|
||||
for rcheck in "${!var2}"; do
|
||||
if [ "${ST_ACTION}" != "check" ]; then
|
||||
c=0; cw=26; spc=''
|
||||
c=0; cw=30; spc=''
|
||||
spc1=${cw}-${#REPL_DESC[${rcheck}]}
|
||||
# if [ "${rcheck}" = "nextcloud-data" ] || [ "${rcheck}" = "nextcloud-www" ]; then
|
||||
# timeout=`date --date='2 minutes' +%s`
|
||||
|
||||
Reference in New Issue
Block a user