diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index f3cf903..b6d6c48 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -232,7 +232,11 @@ MAIN_MENU() { echo echo -e " [${idsCL[LightYellow]}1${idsCL[Default]}] ${idsCL[White]}Run Post-Install Script${idsCL[Default]}" - echo -e " [${idsCL[LightYellow]}2${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}" + if [ ! pvesh get /cluster/resources | grep -i pulse ]; then + echo -e " [${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]}" + fi echo if [ ! apt list --installed "connectwise*" &> /dev/null ]; then