Update proxmenu-scripts.sh

This commit is contained in:
2026-02-27 16:48:14 -06:00
parent 4d13c365a5
commit 1930624da1

View File

@@ -61,11 +61,10 @@ INSTALL_RMM() {
echo -en "${idsCL[LightYellow]}Paste the Linux Server URL provided from the Download Agent screen: ${idsCL[Default]}"
read -e RMMURL
echo "${RMMURL}"
# 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
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
echo -e "\n${idsCL[Green]}RMM has been installed${idsCL[Default]}"
[ ${action-x} ] && exit 0