Update proxmenu-scripts.sh
This commit is contained in:
@@ -6,6 +6,18 @@
|
|||||||
source /opt/idssys/defaults/default.inc
|
source /opt/idssys/defaults/default.inc
|
||||||
source /opt/idssys/ta-proxmenu/defaults.inc
|
source /opt/idssys/ta-proxmenu/defaults.inc
|
||||||
|
|
||||||
|
INSTALL_PULSE() {
|
||||||
|
read -n 1 -p "Are you sure you wish to install Pulse (Y/n)?" choice
|
||||||
|
case "$choice" in
|
||||||
|
[Nn]) MAIN_MENU;;
|
||||||
|
* )
|
||||||
|
echo
|
||||||
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/pulse.sh)"
|
||||||
|
echo
|
||||||
|
echo -e "\n${idsCL[Green]}Pulse has been installed${idsCL[Default]}"
|
||||||
|
[ ${action-x} ] && exit 0 || ENTER2CONTINUE;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
INSTALL_ACRONIS() {
|
INSTALL_ACRONIS() {
|
||||||
read -n 1 -p "Are you sure you wish to install Acronis (Y/n)?" choice
|
read -n 1 -p "Are you sure you wish to install Acronis (Y/n)?" choice
|
||||||
@@ -24,6 +36,7 @@ INSTALL_ACRONIS() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
INSTALL_PROXMENUX() {
|
INSTALL_PROXMENUX() {
|
||||||
read -n 1 -p "Are you sure you wish to install ProxMenux (Y/n)?" choice
|
read -n 1 -p "Are you sure you wish to install ProxMenux (Y/n)?" choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
@@ -181,10 +194,11 @@ MAIN_MENU() {
|
|||||||
echo -e "---------------------------------------------------------------------------"
|
echo -e "---------------------------------------------------------------------------"
|
||||||
echo
|
echo
|
||||||
if [ ! -f /usr/local/bin/menu ]; then
|
if [ ! -f /usr/local/bin/menu ]; then
|
||||||
echo -e " [${idsCL[LightYellow]}P${idsCL[Default]}] ${idsCL[White]}Install ProxMenux${idsCL[Default]}"
|
echo -e " [${idsCL[LightYellow]}M${idsCL[Default]}] ${idsCL[White]}Install ProxMenux${idsCL[Default]}"
|
||||||
else
|
else
|
||||||
echo -e " [${idsCL[LightYellow]}P${idsCL[Default]}] ${idsCL[White]}Run ProxMenux${idsCL[Default]}"
|
echo -e " [${idsCL[LightYellow]}M${idsCL[Default]}] ${idsCL[White]}Run ProxMenux${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
|
echo -e " [${idsCL[LightYellow]}P${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}"
|
||||||
if ! dpkg -s "connectwise*" &> /dev/null; then
|
if ! dpkg -s "connectwise*" &> /dev/null; then
|
||||||
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]}"
|
||||||
@@ -215,7 +229,8 @@ MAIN_MENU() {
|
|||||||
echo
|
echo
|
||||||
case $opt in
|
case $opt in
|
||||||
|
|
||||||
[Pp]) INSTALL_PROXMENUX;;
|
[Mm]) INSTALL_PROXMENUX;;
|
||||||
|
[Pp]) INSTALL_PULSE;;
|
||||||
[Rr]) INSTALL_RMM;;
|
[Rr]) INSTALL_RMM;;
|
||||||
[Ss]) INSTALL_SCREENCONNECT;;
|
[Ss]) INSTALL_SCREENCONNECT;;
|
||||||
[Aa]) INSTALL_ACRONIS;;
|
[Aa]) INSTALL_ACRONIS;;
|
||||||
|
|||||||
Reference in New Issue
Block a user