Update proxmenu-scripts.sh

This commit is contained in:
2026-03-06 20:25:16 -06:00
parent c3d5b7d0d5
commit 334f32c344

View File

@@ -103,11 +103,12 @@ INSTALL_RMM() {
echo -en "\n${idsCL[LightYellow]}Paste the Linux Server URL provided from the Download Agent screen: ${idsCL[Default]}" echo -en "\n${idsCL[LightYellow]}Paste the Linux Server URL provided from the Download Agent screen: ${idsCL[Default]}"
read -e RMMURL read -e RMMURL
wget "${RMMURL}" -O /tmp/rmminstall wget "${RMMURL}" -O /tmp/rmminstall
TOKEN="$(echo ${RMMURL} | awk -F 'TKN' '{print $2}' | awk -F '/RUN' '{print $1}')" TOKEN="$(echo ${RMMURL} | awk -F 'TKN' '{print $2}' | awk -F '/RUN' '{print $1}')"
CMD="TOKEN=${TOKEN} bash /tmp/rmminstall" CMD="TOKEN=${TOKEN} bash /tmp/rmminstall"
eval ${CMD} eval ${CMD}
# rm -f /tmp/rmminstall systemctl restart ITSPlatform
# rm -f /tmp/rmminstall
echo -e "\n${idsCL[Green]}RMM has been installed${idsCL[Default]}" echo -e "\n${idsCL[Green]}RMM has been installed${idsCL[Default]}"
[ ${action-x} ] && exit 0 || ENTER2CONTINUE [ ${action-x} ] && exit 0 || ENTER2CONTINUE
@@ -245,7 +246,7 @@ MAIN_MENU() {
fi fi
echo echo
if [ "$(dpkg -l | awk '/connectwise/ {print }'|wc -l)" -eq 0 ]; then if [ "$(systemctl is-active ITSPlatform)" != "active" ]; then
echo -e " [${idsCL[LightYellow]}3${idsCL[Default]}] ${idsCL[White]}Install ConnectWise RMM Agent${idsCL[Default]}" echo -e " [${idsCL[LightYellow]}3${idsCL[Default]}] ${idsCL[White]}Install ConnectWise RMM Agent${idsCL[Default]}"
echo -e " [${idsCL[LightYellow]}4${idsCL[Default]}] ${idsCL[White]}Install ScreenConnect Agent${idsCL[Default]}" echo -e " [${idsCL[LightYellow]}4${idsCL[Default]}] ${idsCL[White]}Install ScreenConnect Agent${idsCL[Default]}"
else else