update
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
action="$1"
|
action="$1"
|
||||||
FOLDER='/opt/idssys/ta-proxmenu'
|
FOLDER='/opt/idssys/ta-proxmenu'
|
||||||
VERS='2026.1.1'
|
VERS='2026.2.1'
|
||||||
|
|
||||||
RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)
|
RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)
|
||||||
|
|
||||||
|
|||||||
@@ -41,10 +41,10 @@ INSTALL_SCREENCONNECT() {
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
echo -en "${idsCL[LightYellow]}Paste the URL provided from the Build Installer: ${idsCL[Default]}"
|
echo -en "${idsCL[LightYellow]}Paste the URL provided from the Build Installer: ${idsCL[Default]}"
|
||||||
read -e RMMURL
|
read -e SCURL
|
||||||
wget "${RMMURL}" -o /tmp/rmminstall
|
wget "${SCURL}" -o /tmp/scinstall
|
||||||
dpkg -i /tmp/rmminstall
|
dpkg -i /tmp/scinstall
|
||||||
rm -f /tmp/rmminstall
|
rm -f /tmp/scinstall
|
||||||
|
|
||||||
echo -e "\n${idsCL[Green]}ScreenConnect has been installed${idsCL[Default]}"
|
echo -e "\n${idsCL[Green]}ScreenConnect has been installed${idsCL[Default]}"
|
||||||
[ ${action-x} ] && exit 0
|
[ ${action-x} ] && exit 0
|
||||||
@@ -52,6 +52,25 @@ INSTALL_SCREENCONNECT() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
INSTALL_RMM() {
|
||||||
|
read -n 1 -p "Are you sure you wish to install RMM (Y/n)?" choice
|
||||||
|
case "$choice" in
|
||||||
|
[Nn]) MAIN_MENU;;
|
||||||
|
* )
|
||||||
|
echo
|
||||||
|
|
||||||
|
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}') bash /tmp/rmminstall
|
||||||
|
rm -f /tmp/rmminstall
|
||||||
|
|
||||||
|
echo -e "\n${idsCL[Green]}RMM has been installed${idsCL[Default]}"
|
||||||
|
[ ${action-x} ] && exit 0
|
||||||
|
ENTER2CONTINUE
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
MAIN_MENU() {
|
MAIN_MENU() {
|
||||||
while :
|
while :
|
||||||
|
|||||||
Reference in New Issue
Block a user