Update nodemgmt-scripts.sh

This commit is contained in:
2023-12-14 10:05:07 -06:00
parent 749359a70b
commit bf09affcec

View File

@@ -600,6 +600,8 @@ DOWNLIST(){
idsST=('')
DOWNLIST=()
for dli in "${DOWN_LIST[@]}"; do
echo -en "HERE: ${dli}"
[ ! -f ${dli/down/disable} ] && echo "not found" || echo "found"
[ ! -f ${dli/down/disable} ] && DOWNLIST+=(${dli})
done
else
@@ -609,8 +611,7 @@ DOWNLIST(){
if [ -z ${NMG_ACTION} ] || [ "${NMG_ACTION}" = "gui" ]; then
DIVIDER true
fi
echo ${DOWNLIST[@]}
echo ${DOWN_LIST[@]}
echo
if [ "${DOWNLIST}" == "" ]; then
[ "${1}" == "report" ] && exit 0