Update proxmenu-scripts.sh
This commit is contained in:
@@ -62,9 +62,9 @@ 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
|
||||
TOKEN=$(echo ${RMMURL} | awk -F 'TKN' '{print $2}' | awk -F '/RUN' '{print $1}')
|
||||
$(TOKEN=${TOKEN} bash /tmp/rmminstall;)
|
||||
rm -f /tmp/rmminstall
|
||||
TKN=$(echo ${RMMURL} | awk -F 'TKN' '{print $2}' | awk -F '/RUN' '{print $1}')
|
||||
run=$(TOKEN=${TOKEN} bash /tmp/rmminstall)
|
||||
# rm -f /tmp/rmminstall
|
||||
|
||||
echo -e "\n${idsCL[Green]}RMM has been installed${idsCL[Default]}"
|
||||
[ ${action-x} ] && exit 0
|
||||
|
||||
Reference in New Issue
Block a user