Update nodemgmt-scripts.sh

This commit is contained in:
2023-12-12 08:09:55 -06:00
parent ed1c5c84af
commit 8137f0a897

View File

@@ -593,19 +593,19 @@ DOWNLIST(){
IFS=$'\n' IFS=$'\n'
read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}" read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"
unset IFS unset IFS
# if [ "${1}" = "report" ]; then if [ "${1}" = "report" ]; then
# DOWNLIST=${DOWN_LIST} DOWNLIST=${DOWN_LIST}
# unset idsCL idsBG idsST unset idsCL idsBG idsST
# idsCL=('') idsCL=('')
# idsBG=('') idsBG=('')
# idsST=('') idsST=('')
# else else
DOWNLIST=() DOWNLIST=()
for dli in "${DOWN_LIST[@]}"; do for dli in "${DOWN_LIST[@]}"; do
echo ${dli/disable/down} echo ${dli/disable/down}
[ ! -f ${dli/down/disable} ] && DOWNLIST+=(${dli}) [ ! -f ${dli/down/disable} ] && DOWNLIST+=(${dli})
done done
# fi fi
if [ -z ${ACTION} ] || [ "${ACTION}" = "gui" ]; then if [ -z ${ACTION} ] || [ "${ACTION}" = "gui" ]; then
DIVIDER true DIVIDER true