Update nodemgmt-scripts.sh

This commit is contained in:
2023-05-21 20:17:34 -05:00
parent cbc7c0d1ed
commit 30fa7af4b4

View File

@@ -1076,6 +1076,8 @@ DOWNLIST(){
ditem=${ditem//.down}
host=${ditem%%.*}
item=${ditem#*.}
echo "HERE: $item"
if [[ $ditem == *"."* ]] && [ "${NM_SERVICES[${item}]}" != "" ]; then
itemname=${NM_SERVICES[${ditem#*-}]}