This commit is contained in:
Esteban Mackay Q 2023-10-08 23:43:32 -05:00
parent 0d319e91dc
commit 6a22ddf79e
3 changed files with 165 additions and 68 deletions

View File

@ -91,11 +91,11 @@ Imagen para raspberry, proyecto emq-TE1 - recomendado para cualquier Raspberry :
* <p><a href="https://drive.google.com/u/0/uc?id=17DzFy8i-S1ISvr08QnI8rO7uEUov6K-4&export=download&confirm=t&uuid=4329f6b0-353d-44d1-b08b-2715faa32981" target="_blank">Descargar</a> imagen Raspberry&nbsp;</p>
* Ultima revision: emq-TE1+ Rev01.09 12/09/2023
Ultima revision de imagen Raspberry: emq-TE1+ Rev1.09 12/09/2023
Raspberry OS Lite Basado en la versión 11 de Debian (bullseye) 03-05-2023
Raspberry OS Lite Basado en la versión 11 de Debian (bullseye) 03-05-2023
Linux kernel 6.1.21
Linux kernel 6.1.21
#
@ -103,7 +103,8 @@ Imagen para raspberry, proyecto emq-TE1 - recomendado para cualquier Raspberry :
Puede instalar en su sistema operativo (Ubuntu , raspberry , Debian ) utilizando el Bash de auto instalación desde su consola terminal con permisos de super usuario, importante su sistema operativo debe tener instalado sudo y curl antes de utilizar el Bash de auto instalación .
* Ultima revision de scrip 23.10.08
* Bash de auto instalación :
apt update && apt upgrade -y

View File

@ -88,7 +88,7 @@ echo "Instalación completa."
####################
sudo cat > /opt/emq-ver <<- "EOF"
EMQ-VER: 01.09
EMQ-VER: 23.10.08
EOF
####################
sudo timedatectl set-timezone America/Panama
@ -156,6 +156,7 @@ bash -c "$(curl -fsSL https://gitlab.com/hp3icc/easy-hbl/-/raw/main/hbljson.sh)"
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/fdmr.sh)" &&
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/nxdn2dmr.sh)" &&
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/p25.sh)" &&
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/p25cross.sh)" &&
echo install menu
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu)" &&
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-aprs)" &&

221
menu/menu
View File

@ -8,23 +8,19 @@ if [[ $EUID -ne 0 ]]; then
exit 0
fi
while : ; do
choix=$(whiptail --title "Proyecto emq-TE1+ Rev: R00ab / Raspbian Proyecto por HP3ICC 73." --menu "Suba o Baje con las flechas del teclado y seleccione el número de opción:" 24 70 17 \
choix=$(whiptail --title "Proyecto emq-TE1+ Rev: R00ab / Raspbian Proyecto por HP3ICC 73." --menu "Suba o Baje con las flechas del teclado y seleccione el número de opción:" 25 73 13 \
1 " APRS " \
2 " MMDVMHost " \
3 " Dvswitch " \
4 " pYSFReflector3 " \
5 " NXDN2DMR " \
6 " YSF2DMR " \
7 " YSF2YSF " \
8 " HBLink3 Server " \
9 " FreeDMR Server " \
10 " DDNS NoIP " \
11 " GoTTY " \
12 " Firewall " \
13 " Update " \
14 " Reiniciar Equipo " \
15 " Set Time Zone " \
16 " Salir del menú " 3>&1 1>&2 2>&3)
4 " Server & Reflector " \
5 " Cross Bridge " \
6 " DDNS NoIP " \
7 " GoTTY " \
8 " Firewall " \
9 " Update " \
10 " Reiniciar Equipo " \
11 " Set Time Zone " \
12 " Salir del menú " 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -42,30 +38,82 @@ case $choix in
3)
menu-dvs;;
4)
menu-ysf;;
while : ; do
network=$(whiptail --title "Server & Reflector" --menu "Select menu:" 15 60 6 \
"1" "pYSFReflector3" \
"2" "P25Reflector" \
"3" "HBLink3 Server" \
"4" "FreeDMR Server" \
"5" "menu principal" 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
case "$network" in
"1")
menu-ysf ;;
"2")
menu-p25r ;;
"3")
menu-hbl ;;
"4")
menu-fdmr ;;
"5")
break ;;
*)
echo "Invalid selection" ;;
esac
else
echo "You chose cancel."
break
fi
done
;;
5)
menu-nxdn2dmr;;
while : ; do
network=$(whiptail --title "Cross Bridge" --menu "Select menu:" 15 60 6 \
"1" "NXDN2DMR" \
"2" "YSF2DMR" \
"3" "YSF BRIDGE YSF " \
"4" "P25 BRIDGE DMR/XLXD " \
"5" "menu principal" 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
case "$network" in
"1")
menu-nxdn2dmr ;;
"2")
menu-ysf2dmr ;;
"3")
menu-ysf2ysf ;;
"4")
menu-p25b ;;
"5")
break ;;
*)
echo "Invalid selection" ;;
esac
else
echo "You chose cancel."
break
fi
done
;;
6)
menu-ysf2dmr;;
7)
menu-ysf2ysf;;
8)
menu-hbl;;
9)
menu-fdmr;;
10)
menu-noip ;;
11)
7)
menu-web ;;
12)
8)
menu-ufw ;;
13)
9)
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/update.sh)" ;;
14)
10)
menu-reboot ;;
15)
11)
dpkg-reconfigure tzdata ;;
16)
12)
break
;;
esac
@ -81,26 +129,21 @@ if [[ $EUID -ne 0 ]]; then
whiptail --title "sudo su" --msgbox "Se requieren privilegios de superusuario. Ejecute 'sudo su' antes de ingresar al menú." 0 50
exit 0
fi
while : ; do
choix=$(whiptail --title "Proyecto emq-TE1+ Rev: R00ab / Proyecto Raspbian por HP3ICC 73." --menu "Use las flechas del teclado para subir o bajar y seleccione el número de opción:" 24 70 17 \
choix=$(whiptail --title "Proyecto emq-TE1+ Rev: R00ab / Raspbian Proyecto por HP3ICC 73." --menu "Suba o Baje con las flechas del teclado y seleccione el número de opción:" 25 73 14 \
1 " APRS " \
2 " MMDVMHost " \
3 " Dvswitch " \
4 " pYSFReflector3 " \
5 " NXDN2DMR " \
6 " YSF2DMR " \
7 " YSF2YSF " \
8 " Servidor HBLink3 " \
9 " Servidor FreeDMR " \
10 " WiFi Tools " \
11 " DDNS NoIP " \
12 " GoTTY " \
13 " Firewall " \
14 " Actualización " \
15 " Reiniciar Equipo " \
16 " Set Time Zone " \
17 " Salir del menú " 3>&1 1>&2 2>&3)
4 " Server & Reflector " \
5 " Cross Bridge " \
6 " WiFi Tools " \
7 " DDNS NoIP " \
8 " GoTTY " \
9 " Firewall " \
10 " Update " \
11 " Reiniciar Equipo " \
12 " Set Time Zone " \
13 " Salir del menú " 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -118,32 +161,84 @@ case $choix in
3)
menu-dvs;;
4)
menu-ysf;;
while : ; do
network=$(whiptail --title "Server & Reflector" --menu "Select menu:" 15 60 6 \
"1" "pYSFReflector3" \
"2" "P25Reflector" \
"3" "HBLink3 Server" \
"4" "FreeDMR Server" \
"5" "menu principal" 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
case "$network" in
"1")
menu-ysf ;;
"2")
menu-p25r ;;
"3")
menu-hbl ;;
"4")
menu-fdmr ;;
"5")
break ;;
*)
echo "Invalid selection" ;;
esac
else
echo "You chose cancel."
break
fi
done
;;
5)
menu-nxdn2dmr;;
while : ; do
network=$(whiptail --title "Cross Bridge" --menu "Select menu:" 15 60 6 \
"1" "NXDN2DMR" \
"2" "YSF2DMR" \
"3" "YSF BRIDGE YSF " \
"4" "P25 BRIDGE DMR/XLXD " \
"5" "menu principal" 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
case "$network" in
"1")
menu-nxdn2dmr ;;
"2")
menu-ysf2dmr ;;
"3")
menu-ysf2ysf ;;
"4")
menu-p25b ;;
"5")
break ;;
*)
echo "Invalid selection" ;;
esac
else
echo "You chose cancel."
break
fi
done
;;
6)
menu-ysf2dmr;;
7)
menu-ysf2ysf;;
8)
menu-hbl;;
9)
menu-fdmr;;
10)
menu-wifi-manager;;
11)
7)
menu-noip ;;
12)
8)
menu-gotty ;;
13)
9)
menu-firewall ;;
14)
10)
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/update.sh)" ;;
15)
11)
menu-reboot ;;
16)
12)
dpkg-reconfigure tzdata ;;
17)
13)
break
;;
esac