From d130c1f6706e3a41a20d524722e0119a263b7b8e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 7 Mar 2026 18:36:21 -0600 Subject: [PATCH] Update proxmenu-scripts.sh --- proxmenu-scripts.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index 4f4d8a8..ca9ee70 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -219,7 +219,11 @@ RESTART_PVE_SERVICES(){ } MAINTENANCE_MODE(){ - + if [ $(ha-manager status | grep -q "maintenance-mode") ]; 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]} " + fi read -n 1 choice case "$choice" in [Nn]) echo;;