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.3.16'
|
VERS='2026.3.17'
|
||||||
|
|
||||||
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)
|
||||||
|
|
||||||
|
|||||||
@@ -54,13 +54,12 @@ PROXMENUX_POST_INSTALL() {
|
|||||||
touch /opt/.PROXMENUX_POST_INSTALL
|
touch /opt/.PROXMENUX_POST_INSTALL
|
||||||
[ -s /etc/apt/sources.list ] && cat /dev/null > /etc/apt/sources.list
|
[ -s /etc/apt/sources.list ] && cat /dev/null > /etc/apt/sources.list
|
||||||
|
|
||||||
[ ${action-x} ] && exit 0 || ENTER2CONTINUE
|
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL_GLANCES() {
|
INSTALL_GLANCES() {
|
||||||
read -n 1 -p "Are you sure you wish to install Glances (Y/n)?" choice
|
read -n 1 -p "Are you sure you wish to install Glances (Y/n)?" choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
[Nn]) MAIN_MENU;;
|
[Nn]) echo;;
|
||||||
* )
|
* )
|
||||||
echo
|
echo
|
||||||
apt install glances -y
|
apt install glances -y
|
||||||
@@ -72,19 +71,18 @@ INSTALL_GLANCES() {
|
|||||||
INSTALL_SCREENCONNECT() {
|
INSTALL_SCREENCONNECT() {
|
||||||
read -n 1 -p "Are you sure you wish to install ScreenConnect (Y/n)?" choice
|
read -n 1 -p "Are you sure you wish to install ScreenConnect (Y/n)?" choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
[Nn]) MAIN_MENU;;
|
[Nn]) echo;;
|
||||||
* )
|
* )
|
||||||
echo
|
echo
|
||||||
|
|
||||||
echo -en "\n${idsCL[LightYellow]}Paste the URL provided from the Build Installer: ${idsCL[Default]}"
|
echo -en "\n${idsCL[LightYellow]}Paste the URL provided from the Build Installer: ${idsCL[Default]}"
|
||||||
read -e SCURL
|
read -e SCURL
|
||||||
wget "${SCURL}" -O /tmp/scinstall
|
wget "${SCURL}" -O /tmp/scinstall
|
||||||
dpkg -i /tmp/scinstall
|
dpkg -i /tmp/scinstall
|
||||||
apt install --fix-broken -y
|
apt install --fix-broken -y
|
||||||
apt remove "connectwis*" -y
|
apt remove "connectwis*" -y
|
||||||
dpkg -i /tmp/scinstall
|
dpkg -i /tmp/scinstall
|
||||||
rm -f /tmp/scinstall
|
rm -f /tmp/scinstall
|
||||||
systemctl disable --now proxmenux-monitor
|
systemctl disable --now proxmenux-monitor
|
||||||
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 || ENTER2CONTINUE
|
[ ${action-x} ] && exit 0 || ENTER2CONTINUE
|
||||||
esac
|
esac
|
||||||
@@ -93,7 +91,7 @@ INSTALL_SCREENCONNECT() {
|
|||||||
INSTALL_RMM() {
|
INSTALL_RMM() {
|
||||||
read -n 1 -p "Are you sure you wish to install RMM (Y/n)?" choice
|
read -n 1 -p "Are you sure you wish to install RMM (Y/n)?" choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
[Nn]) MAIN_MENU;;
|
[Nn]) echo;;
|
||||||
* )
|
* )
|
||||||
echo
|
echo
|
||||||
|
|
||||||
@@ -129,7 +127,7 @@ INSTALL_S1() {
|
|||||||
INSTALL_OMSA() {
|
INSTALL_OMSA() {
|
||||||
read -n 1 -p "Are you sure you wish to install Dell OpenManage Administrator (Y/n)?" choice
|
read -n 1 -p "Are you sure you wish to install Dell OpenManage Administrator (Y/n)?" choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
[Nn]) MAIN_MENU;;
|
[Nn]) echo;;
|
||||||
* )
|
* )
|
||||||
echo
|
echo
|
||||||
mkdir /tmp/omsa
|
mkdir /tmp/omsa
|
||||||
|
|||||||
Reference in New Issue
Block a user