This commit is contained in:
2025-08-04 16:34:37 -05:00
parent bff8b7ee1e
commit 11c3a4608c
2 changed files with 3 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='5.6.17-08012025'
VERS='5.6.18-08042025'
NM_BETA=false

View File

@@ -957,14 +957,12 @@ DOWNLIST(){
else
if [[ "${NM_IGNOREHOSTS_IFDOWN}" != *"${host}"* ]]; then
if [ "${choice^^}" == "N" ]; then
rm -f ${NM_TMPFOLDER}/${ditem}.disable
[ -f ${NM_TMPFOLDER}/${ditem}.disable ] && rm -f ${NM_TMPFOLDER}/${ditem}.disable
elif [ "${choice^^}" == "F" ]; then
touch ${NM_TMPFOLDER}/${ditem}.disable
[ ! -f ${NM_TMPFOLDER}/${ditem}.disable ] && touch ${NM_TMPFOLDER}/${ditem}.disable
elif [[ ${choice} == ?(-)+([0-9]) ]] && [ ${choice} -gt 0 ] 2>/dev/null && [ ${is} -eq ${choice} ]; then
[ ! -f ${NM_TMPFOLDER}/${ditem}.disable ] && touch ${NM_TMPFOLDER}/${ditem}.disable || rm -f ${NM_TMPFOLDER}/${ditem}.disable
fi
else
[ -f ${NM_TMPFOLDER}/${ditem}.disable ] && rm -f ${NM_TMPFOLDER}/${ditem}.disable
fi
[ ${is} -lt 10 ] && ignsel=" ${is}) " || ignsel="${is}) "