From fc56a3ee03c05c514eb081f5ade906f2ec948a72 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 7 Mar 2026 18:45:25 -0600 Subject: [PATCH] Update proxmenu-scripts.sh --- proxmenu-scripts.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index 0128385..ff5c395 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -219,16 +219,16 @@ RESTART_PVE_SERVICES(){ } MAINTENANCE_MODE(){ - if ha-manager status | grep -q "maintenance-mode"; then + if ha-manager status | grep "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]} " + echo -en "${idsCL[LightCyan]}qPut the local host into maintenance mode (Y/n)?${idsCL[Default]} " fi read -n 1 choice case "$choice" in [Nn]) echo;; *) echo - if ha-manager status | grep -q "maintenance-mode"; then + if ha-manager status | grep "maintenance mode"; then ha-manager crm-command node-maintenance disable $(hostname) & echo -e "\n${idsCL[Green]}This host will be taken out of maintenance mode${idsCL[Default]}\n" else @@ -300,7 +300,7 @@ MAIN_MENU() { echo -e "${idsCL[DarkGray]} [S] ScreenConnect is already installed${idsCL[Default]}" fi echo - if ha-manager status | grep -q "maintenance-mode"; then + if ha-manager status | grep "maintenance mode"; then echo -e " [${idsCL[LightYellow]}M${idsCL[Default]}] ${idsCL[White]}Take Host out of Maintenance Mode${idsCL[Default]}" else echo -e " [${idsCL[LightYellow]}M${idsCL[Default]}] ${idsCL[White]}Put Host into Maintenance Mode${idsCL[Default]}"