From 4f8f7efab265935dcb892acc4b5a586fbcd8bb83 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 13 Mar 2026 21:55:40 -0500 Subject: [PATCH] Update proxmenu-scripts.sh --- proxmenu-scripts.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index ace74ab..203cba0 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -265,10 +265,12 @@ MAIN_MENU() { echo -e "---------------------------------------------------------------------------" echo + CRES=$(pvesh get /cluster/resources) + echo -en "${idsCL[White]} [${idsCL[LightYellow]}0${idsCL[Default]}] ${idsCL[White]}Run Post-Install Script${idsCL[Default]}" [ -f /opt/.PROXMENUX_POST_INSTALL ] && echo -e "${idsCL[Cyan]} - Has been ran prevously${idsCL[Default]}" || echo echo -e "${idsCL[White]} [${idsCL[LightYellow]}1${idsCL[Default]}] ${idsCL[White]}Detect CPU-Arch for Live Migrations${idsCL[Default]}" - if ! pvesh get /cluster/resources | grep -i pulse &> /dev/null ; then + if ! ${CRES} | grep -i pulse &> /dev/null ; then echo -e "${idsCL[White]} [${idsCL[LightYellow]}2${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}" else echo -e "${idsCL[DarkGray]} [2] Pulse Monitoring is already installed${idsCL[Default]}"