From 1840d3e1305241b8731b42ebfa61ed19e3a81e01 Mon Sep 17 00:00:00 2001 From: hp3icc <49044505+hp3icc@users.noreply.github.com> Date: Fri, 2 Jul 2021 11:57:57 -0500 Subject: [PATCH] Update emq-TE1ws-Rev9.sh --- emq-TE1ws-Rev9.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/emq-TE1ws-Rev9.sh b/emq-TE1ws-Rev9.sh index f119a6b..2b40421 100644 --- a/emq-TE1ws-Rev9.sh +++ b/emq-TE1ws-Rev9.sh @@ -609,7 +609,7 @@ EOF cat > /bin/menu-mmdvm <<- "EOF" #!/bin/bash while : ; do -choix=$(whiptail --title "Raspbian Proyect HP3ICC Esteban Mackay 73." --menu "Suba o Baje con las flechas del teclado y seleccione el numero de opcion" 20 50 11 \ +choix=$(whiptail --title "Raspbian Proyect HP3ICC Esteban Mackay 73." --menu "Suba o Baje con las flechas del teclado y seleccione el numero de opcion" 20 50 12 \ 1 " Editar MMDVMHost " \ 2 " Iniciar MMDVMHost " \ 3 " Detener MMDVMHost " \ @@ -617,7 +617,9 @@ choix=$(whiptail --title "Raspbian Proyect HP3ICC Esteban Mackay 73." --menu "Su 5 " Dashboard Off " \ 6 " Editar Puerto WebServer " \ 7 " Editar HTML " \ -8 " Menu Principal " 3>&1 1>&2 2>&3) +8 " actualizar nombres de TG y sala europelink " \ +9 " actualizar nombres de TG y sala worldlink " \ +10 " Menu Principal " 3>&1 1>&2 2>&3) exitstatus=$? #on recupere ce choix #exitstatus=$? @@ -643,6 +645,10 @@ sudo nano /lib/systemd/system/http.server-mmdvmh.service && sudo systemctl daemo 7) sudo nano /opt/MMDVMHost-Websocketboard/html/index.html ;; 8) +cd /opt/MMDVMHost-Websocketboard/html/data/ && sudo rm TG_List.csv && wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/TG_List.csv ;; +9) +cd /opt/MMDVMHost-Websocketboard/html/data/ && sudo rm TG_List.csv && wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/TG_List-WL.csv && sudo mv TG_List-WL.csv TG_List.csv;; +10) break; esac done