From effd7cb77927c027d60e9818c6d90bb514bdecac Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 5 Mar 2026 21:13:33 -0600 Subject: [PATCH] Update proxmenu-scripts.sh --- proxmenu-scripts.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index 91d1274..aa48afc 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -43,15 +43,18 @@ INSTALL_PROXMENUX() { [Nn]) MAIN_MENU;; * ) 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/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/main/install_proxmenux.sh)" systemctl disable --now proxmenux-monitor echo -e "\n${idsCL[Green]}ProxMenux has been installed${idsCL[Default]}" [ ${action-x} ] && exit 0 || ENTER2CONTINUE 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() { read -n 1 -p "Are you sure you wish to install Glances (Y/n)?" choice case "$choice" in @@ -227,12 +230,9 @@ MAIN_MENU() { echo -e "IP Address: ${idsCL[Cyan]}${RNIP}${idsCL[Default]}" echo -e "---------------------------------------------------------------------------" echo - if [ ! -f /usr/local/bin/menu ]; then - echo -e " [${idsCL[LightYellow]}1${idsCL[Default]}] ${idsCL[White]}Install ProxMenux${idsCL[Default]}" - else - 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 -e " [${idsCL[LightYellow]}1${idsCL[Default]}] ${idsCL[White]}Run Post-Install Script${idsCL[Default]}" + echo -e " [${idsCL[LightYellow]}2${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}" echo if ! dpkg -s "connectwise*" &> /dev/null; then @@ -279,7 +279,7 @@ MAIN_MENU() { echo case $opt in # [1]) [ ! -f /usr/local/bin/menu ] && INSTALL_PROXMENUX || /usr/local/bin/menu;; - [1]) INSTALL_PROXMENUX;; + [1]) PROXMENUX_POST_INSTALL;; [2]) INSTALL_PULSE;; [3]) INSTALL_RMM;; [4]) INSTALL_SCREENCONNECT;;