Update proxmenu-scripts.sh

This commit is contained in:
2026-02-27 16:47:32 -06:00
parent 1fa5c8fc22
commit 4d13c365a5

View File

@@ -60,10 +60,12 @@ INSTALL_RMM() {
echo echo
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 echo "${RMMURL}"
TOKEN=$(echo ${RMMURL} | awk -F 'TKN' '{print $2}' | awk -F '/RUN' '{print $1}') bash /tmp/rmminstall # wget "${RMMURL}" -o /tmp/rmminstall
rm -f /tmp/rmminstall # TOKEN=$(echo ${RMMURL} | awk -F 'TKN' '{print $2}' | awk -F '/RUN' '{print $1}')
# $(TOKEN=${TOKEN} bash /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]}"
[ ${action-x} ] && exit 0 [ ${action-x} ] && exit 0