Update proxmenu-scripts.sh
This commit is contained in:
@@ -31,12 +31,24 @@ INSTALL_PROXMENUX() {
|
|||||||
* )
|
* )
|
||||||
echo
|
echo
|
||||||
bash -c "$(wget -qLO - https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh)"
|
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]}"
|
echo -e "\n${idsCL[Green]}ProxMenux has been installed${idsCL[Default]}"
|
||||||
[ ${action-x} ] && exit 0 || ENTER2CONTINUE
|
[ ${action-x} ] && exit 0 || ENTER2CONTINUE
|
||||||
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,11 +189,17 @@ 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]}"
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
echo -e " [${idsCL[LightYellow]}Q${idsCL[Default]}] ${idsCL[White]}Quit${idsCL[Default]}"
|
echo -e " [${idsCL[LightYellow]}Q${idsCL[Default]}] ${idsCL[White]}Quit${idsCL[Default]}"
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user