Update proxmenu-scripts.sh

This commit is contained in:
2026-02-28 16:10:54 -06:00
parent e36026462d
commit ca447f3903

View File

@@ -37,6 +37,18 @@ INSTALL_PROXMENUX() {
esac 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() { INSTALL_SCREENCONNECT() {
read -n 1 -p "Are you sure you wish to install ScreenConnect (Y/n)?" choice read -n 1 -p "Are you sure you wish to install ScreenConnect (Y/n)?" choice
case "$choice" in case "$choice" in
@@ -177,6 +189,12 @@ MAIN_MENU() {
echo -e " [${idsCL[LightYellow]}R${idsCL[Default]}] ${idsCL[White]}Install ConnectWise RMM Agent${idsCL[Default]}" 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]}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 -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 -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 -e " [${idsCL[LightYellow]}C${idsCL[Default]}] ${idsCL[White]}Detect CPU-Arch for Live Migrations${idsCL[Default]}"
@@ -195,6 +213,7 @@ MAIN_MENU() {
[Ss]) INSTALL_SCREENCONNECT;; [Ss]) INSTALL_SCREENCONNECT;;
[Aa]) INSTALL_ACRONIS;; [Aa]) INSTALL_ACRONIS;;
[Oo]) INSTALL_OMSA;; [Oo]) INSTALL_OMSA;;
[Gg]) INSTALL_GLANCES;;
[Cc]) DETECT_CPU;; [Cc]) DETECT_CPU;;
[Qq]) [Qq])
EXIT1 EXIT1