Update status.inc
This commit is contained in:
@@ -7,15 +7,12 @@ STATUS(){
|
|||||||
[ "${ST_ACTION}" == "sync" ] && ST_ACTION=repl
|
[ "${ST_ACTION}" == "sync" ] && ST_ACTION=repl
|
||||||
declare -i cw; declare -i spc1; declare -i c
|
declare -i cw; declare -i spc1; declare -i c
|
||||||
|
|
||||||
ntypesel=""
|
if [ "${NM_NODETYPES[${ST_ACTION^^}]}" != "" ]; then
|
||||||
for NTYPE in "${NM_NODE_TYPES[@]}"; do
|
ntypesel=(${ST_ACTION^^})
|
||||||
if [ "${ST_ACTION^^}" == "${NTYPE}" ]; then
|
ST_ACTION=${2}
|
||||||
ntypesel=${NTYPE}
|
else
|
||||||
ST_ACTION=${2}
|
ntypesel=(${NM_NODE_TYPES[@]})
|
||||||
break
|
fi
|
||||||
fi
|
|
||||||
done
|
|
||||||
[ "${ntypesel}" != "" ] && ntypesel=(${ntypesel}) || ntypesel=(${NM_NODE_TYPES[@]})
|
|
||||||
|
|
||||||
############################
|
############################
|
||||||
## REPLICATION CHECK SETUP
|
## REPLICATION CHECK SETUP
|
||||||
|
|||||||
Reference in New Issue
Block a user