update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='5.6.17-08012025'
|
VERS='5.6.18-08042025'
|
||||||
NM_BETA=false
|
NM_BETA=false
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -957,14 +957,12 @@ DOWNLIST(){
|
|||||||
else
|
else
|
||||||
if [[ "${NM_IGNOREHOSTS_IFDOWN}" != *"${host}"* ]]; then
|
if [[ "${NM_IGNOREHOSTS_IFDOWN}" != *"${host}"* ]]; then
|
||||||
if [ "${choice^^}" == "N" ]; 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
|
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
|
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
|
[ ! -f ${NM_TMPFOLDER}/${ditem}.disable ] && touch ${NM_TMPFOLDER}/${ditem}.disable || rm -f ${NM_TMPFOLDER}/${ditem}.disable
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
[ -f ${NM_TMPFOLDER}/${ditem}.disable ] && rm -f ${NM_TMPFOLDER}/${ditem}.disable
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ ${is} -lt 10 ] && ignsel=" ${is}) " || ignsel="${is}) "
|
[ ${is} -lt 10 ] && ignsel=" ${is}) " || ignsel="${is}) "
|
||||||
|
|||||||
Reference in New Issue
Block a user