Update proxmenu-scripts.sh

This commit is contained in:
2026-02-27 17:26:15 -06:00
parent c5291d6195
commit 4f4182984d

View File

@@ -62,8 +62,9 @@ INSTALL_RMM() {
echo -en "${idsCL[LightYellow]}Paste the Linux Server URL provided from the Download Agent screen: ${idsCL[Default]}" echo -en "${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="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}')"
${TOKEN} bash /tmp/rmminstall CMD="TOKEN=${TOKEN} bash /tmp/rmminstall"
eval ${CMD}
rm -f /tmp/rmminstall 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]}"