From ca447f3903b81cf43fa4f81a75d34a650f533112 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 28 Feb 2026 16:10:54 -0600 Subject: [PATCH] Update proxmenu-scripts.sh --- proxmenu-scripts.sh | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index f0ef2e5..3495d9c 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -31,12 +31,24 @@ INSTALL_PROXMENUX() { * ) echo bash -c "$(wget -qLO - https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh)" - systemctl disable --now proxmenux-monitor + systemctl disable --now proxmenux-monitor echo -e "\n${idsCL[Green]}ProxMenux has been installed${idsCL[Default]}" [ ${action-x} ] && exit 0 || ENTER2CONTINUE esac } +INSTALL_GLANCES() { + read -n 1 -p "Are you sure you wish to install Glances (Y/n)?" choice + case "$choice" in + [Nn]) MAIN_MENU;; + * ) + echo + apt install glances -y + echo -e "\n${idsCL[Green]}Glances has been installed${idsCL[Default]}" + [ ${action-x} ] && exit 0 || ENTER2CONTINUE + esac +} + INSTALL_SCREENCONNECT() { read -n 1 -p "Are you sure you wish to install ScreenConnect (Y/n)?" choice case "$choice" in @@ -177,11 +189,17 @@ MAIN_MENU() { echo -e " [${idsCL[LightYellow]}R${idsCL[Default]}] ${idsCL[White]}Install ConnectWise RMM Agent${idsCL[Default]}" echo -e " [${idsCL[LightYellow]}S${idsCL[Default]}] ${idsCL[White]}Install ScreenConnect Agent${idsCL[Default]}" echo -e " [${idsCL[LightYellow]}A${idsCL[Default]}] ${idsCL[White]}Install Acronis CyberProtect Backup Agent${idsCL[Default]}" + echo + if ! command -v glances &> /dev/null; then + echo -e " [${idsCL[LightYellow]}G${idsCL[Default]}] ${idsCL[White]}Install Glances (CLI Monitor)${idsCL[Default]}" + else + echo -e "${idsCL[Grey]} [G] Glances is already installed${idsCL[Default]}" + fi echo -e " [${idsCL[LightYellow]}O${idsCL[Default]}] ${idsCL[White]}Install Dell OpenManage Server Administrator${idsCL[Default]}" - echo + echo echo -e " [${idsCL[LightYellow]}C${idsCL[Default]}] ${idsCL[White]}Detect CPU-Arch for Live Migrations${idsCL[Default]}" - echo - echo + echo + echo echo -e " [${idsCL[LightYellow]}Q${idsCL[Default]}] ${idsCL[White]}Quit${idsCL[Default]}" echo echo @@ -195,6 +213,7 @@ MAIN_MENU() { [Ss]) INSTALL_SCREENCONNECT;; [Aa]) INSTALL_ACRONIS;; [Oo]) INSTALL_OMSA;; + [Gg]) INSTALL_GLANCES;; [Cc]) DETECT_CPU;; [Qq]) EXIT1