From ff2816ecf96fce38539d9b9cb98fa83fcae4dadd Mon Sep 17 00:00:00 2001 From: "Esteban Mackay Q." <49044505+hp3icc@users.noreply.github.com> Date: Thu, 11 Jun 2026 21:01:02 -0500 Subject: [PATCH] Update update.sh --- update.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/update.sh b/update.sh index be259d4..78c9879 100644 --- a/update.sh +++ b/update.sh @@ -115,13 +115,14 @@ fi while : ; do choix=$(whiptail --title "Script proyect HP3ICC / update FDMR+" --menu "Nota Importante: antes de iniciar la actualizacion, el proceso de actualizacion borrara por completo todas las configuraciones, al finalizar la actualizacion el servicio se reinniciara automaticamente. -" 17 50 6 \ +" 17 50 7 \ 1 " Update ADN-Server " \ 2 " Update Monitor OA4DOA " \ 3 " Update Monitor CS8ABG " \ 4 " Update Monitor CS8ABG Map " \ -5 " Update DAPRS " \ -6 " Menu Principal " 3>&1 1>&2 2>&3) +5 " Fix menu & PHP " \ +6 " Update DAPRS " \ +7 " Menu Principal " 3>&1 1>&2 2>&3) exitstatus=$? #on recupere ce choix #exitstatus=$? @@ -141,13 +142,18 @@ menu-up-fdmon2 ;; 4) menu-up-fdmon3 ;; 5) + bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-adn)" || true + bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/php74.sh)" || true + bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/php8.sh)" || true + ;; +6) bash -c "$(curl -fsSLk https://raw.githubusercontent.com/hp3icc/D-APRS/main/emq-daprs.sh)" if systemctl is-enabled --quiet daprs.service; then echo "Reiniciando daprs.service..." sudo systemctl restart daprs.service fi ;; -6) +7) break; esac done