Update proxmenu-scripts.sh

This commit is contained in:
2026-03-05 21:13:33 -06:00
parent c205c16239
commit effd7cb779

View File

@@ -43,15 +43,18 @@ INSTALL_PROXMENUX() {
[Nn]) MAIN_MENU;; [Nn]) MAIN_MENU;;
* ) * )
echo echo
bash <(curl -sL https://raw.githubusercontent.com/MacRimi/ProxMenux/refs/heads/main/scripts/post_install/customizable_post_install.sh) bash -c "$(wget -qLO - https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh)"
# bash -c "$(wget -qLO - https://raw.githubusercontent.com/MacRimi/ProxMenux/refs/heads/main/scripts/post_install/customizable_post_install.sh)"
# bash -c "$(wget -qLO - https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh)"
systemctl disable --now proxmenux-monitor systemctl disable --now proxmenux-monitor
echo -e "\n${idsCL[Green]}ProxMenux has been installed${idsCL[Default]}" echo -e "\n${idsCL[Green]}ProxMenux has been installed${idsCL[Default]}"
[ ${action-x} ] && exit 0 || ENTER2CONTINUE [ ${action-x} ] && exit 0 || ENTER2CONTINUE
esac esac
} }
PROXMENUX_POST_INSTALL() {
bash <(curl -sL https://raw.githubusercontent.com/MacRimi/ProxMenux/refs/heads/main/scripts/post_install/customizable_post_install.sh)
}
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
@@ -227,12 +230,9 @@ MAIN_MENU() {
echo -e "IP Address: ${idsCL[Cyan]}${RNIP}${idsCL[Default]}" echo -e "IP Address: ${idsCL[Cyan]}${RNIP}${idsCL[Default]}"
echo -e "---------------------------------------------------------------------------" echo -e "---------------------------------------------------------------------------"
echo echo
if [ ! -f /usr/local/bin/menu ]; then
echo -e " [${idsCL[LightYellow]}1${idsCL[Default]}] ${idsCL[White]}Install ProxMenux${idsCL[Default]}" echo -e " [${idsCL[LightYellow]}1${idsCL[Default]}] ${idsCL[White]}Run Post-Install Script${idsCL[Default]}"
else echo -e " [${idsCL[LightYellow]}2${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}"
echo -e " [${idsCL[LightYellow]}1${idsCL[Default]}] ${idsCL[White]}Run ProxMenux${idsCL[Default]}"
fi
echo -e " [${idsCL[LightYellow]}2${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}"
echo echo
if ! dpkg -s "connectwise*" &> /dev/null; then if ! dpkg -s "connectwise*" &> /dev/null; then
@@ -279,7 +279,7 @@ MAIN_MENU() {
echo echo
case $opt in case $opt in
# [1]) [ ! -f /usr/local/bin/menu ] && INSTALL_PROXMENUX || /usr/local/bin/menu;; # [1]) [ ! -f /usr/local/bin/menu ] && INSTALL_PROXMENUX || /usr/local/bin/menu;;
[1]) INSTALL_PROXMENUX;; [1]) PROXMENUX_POST_INSTALL;;
[2]) INSTALL_PULSE;; [2]) INSTALL_PULSE;;
[3]) INSTALL_RMM;; [3]) INSTALL_RMM;;
[4]) INSTALL_SCREENCONNECT;; [4]) INSTALL_SCREENCONNECT;;