Update proxmenu-scripts.sh

This commit is contained in:
2026-05-28 21:14:44 -05:00
parent 06ce73c5b1
commit 450d07e3da
+1 -2
View File
@@ -282,7 +282,6 @@ MAINTENANCE_MODE(){
MAIN_MENU() {
echo -en "${idsCL[LightCyan]}Pulling host info ... "
CRES=$(pvesh get /cluster/resources)
HAS=$(ha-manager status)
DPL=$(dpkg -l)
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
@@ -345,7 +344,7 @@ MAIN_MENU() {
echo -e "${idsCL[DarkGray]} [S] ScreenConnect is already installed${idsCL[Default]}"
fi
echo
if echo ${HAS} | grep $(hostname) | grep "maintenance mode" &> /dev/null; then
if ha-manager status | grep $(hostname) | grep "maintenance mode" &> /dev/null; then
echo -e "${idsCL[White]} [${idsCL[LightYellow]}M${idsCL[Default]}] ${idsCL[White]}Take Host out of Maintenance Mode${idsCL[Default]}"
else
echo -e "${idsCL[White]} [${idsCL[LightYellow]}M${idsCL[Default]}] ${idsCL[White]}Put Host into Maintenance Mode${idsCL[Default]}"