diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index 10822e6..21bc4d6 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -61,7 +61,7 @@ INSTALL_RMM() { 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 + wget "${RMMURL}" -O /tmp/rmminstall TOKEN=$(echo ${RMMURL} | awk -F 'TKN' '{print $2}' | awk -F '/RUN' '{print $1}') $(TOKEN=${TOKEN} bash /tmp/rmminstall;) rm -f /tmp/rmminstall