This commit is contained in:
2026-02-27 16:42:35 -06:00
parent 839ac78fa3
commit e1df3dd64b
2 changed files with 24 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
action="$1"
FOLDER='/opt/idssys/ta-proxmenu'
VERS='2026.1.1'
VERS='2026.2.1'
RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)

View File

@@ -41,10 +41,10 @@ INSTALL_SCREENCONNECT() {
echo
echo -en "${idsCL[LightYellow]}Paste the URL provided from the Build Installer: ${idsCL[Default]}"
read -e RMMURL
wget "${RMMURL}" -o /tmp/rmminstall
dpkg -i /tmp/rmminstall
rm -f /tmp/rmminstall
read -e SCURL
wget "${SCURL}" -o /tmp/scinstall
dpkg -i /tmp/scinstall
rm -f /tmp/scinstall
echo -e "\n${idsCL[Green]}ScreenConnect has been installed${idsCL[Default]}"
[ ${action-x} ] && exit 0
@@ -52,6 +52,25 @@ INSTALL_SCREENCONNECT() {
esac
}
INSTALL_RMM() {
read -n 1 -p "Are you sure you wish to install RMM (Y/n)?" choice
case "$choice" in
[Nn]) MAIN_MENU;;
* )
echo
echo -en "${idsCL[LightYellow]}Paste the Linux Server URL provided from the Download Agent screen: ${idsCL[Default]}"
read -e RMMURL
wget "${RMMURL}" -o /tmp/rmminstall
TOKEN=$(echo ${RMMURL} | awk -F 'TKN' '{print $2}' | awk -F '/RUN' '{print $1}') bash /tmp/rmminstall
rm -f /tmp/rmminstall
echo -e "\n${idsCL[Green]}RMM has been installed${idsCL[Default]}"
[ ${action-x} ] && exit 0
ENTER2CONTINUE
esac
}
MAIN_MENU() {
while :