diff --git a/defaults.inc b/defaults.inc index dc10360..68fd0fa 100755 --- a/defaults.inc +++ b/defaults.inc @@ -3,7 +3,7 @@ action="$1" FOLDER='/opt/idssys/ta-proxmenu' -VERS='2026.5.1-1' +VERS='2026.5.28-1' noupdate=' restart cpu mm ' diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index fe75e72..83f841b 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -258,7 +258,7 @@ SET_VM_SHUTDOWNTIMEOUT(){ } MAINTENANCE_MODE(){ - if ha-manager status | grep "maintenance mode" &> /dev/null; then + if ha-manager status | grep $(hostname) | grep "maintenance mode" &> /dev/null; then echo -en "${idsCL[LightCyan]}Take the local host out of maintenance mode (Y/n)?${idsCL[Default]} " else echo -en "${idsCL[LightCyan]}Put the local host into maintenance mode (Y/n)?${idsCL[Default]} "