Update menu

This commit is contained in:
RaspbianProyect by HP3ICC 2023-06-14 01:03:55 +00:00
parent eadcf798d5
commit 2aa5f0e0cd
1 changed files with 18 additions and 15 deletions

View File

@ -13,14 +13,15 @@ choix=$(whiptail --title "Proyect emq-TE1+ Rev: R00ab / Raspbian Proyect by HP3I
3 " Dvswitch " \
4 " pYSFReflector3 " \
5 " YSF2DMR " \
6 " FreeDMR Server " \
7 " Editar WiFi " \
8 " DDNS NoIP " \
9 " GoTTY " \
10 " Firewall " \
11 " Update " \
12 " Reiniciar Equipo " \
13 " Salir del menu " 3>&1 1>&2 2>&3)
6 " YSF2YSF " \
7 " FreeDMR Server " \
8 " Editar WiFi " \
9 " DDNS NoIP " \
10 " GoTTY " \
11 " Firewall " \
12 " Update " \
13 " Reiniciar Equipo " \
14 " Salir del menu " 3>&1 1>&2 2>&3)
exitstatus=$?
#on recupere ce choix
#exitstatus=$?
@ -42,20 +43,22 @@ menu-ysf;;
5)
menu-ysf2dmr;;
6)
menu-fdmr;;
menu-ysf2ysf;;
7)
menu-wifi;;
menu-fdmr;;
8)
menu-noip ;;
menu-wifi;;
9)
menu-web ;;
menu-noip ;;
10)
menu-ufw ;;
menu-web ;;
11)
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/update.sh)" ;;
menu-ufw ;;
12)
menu-reboot ;;
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/update.sh)" ;;
13)
menu-reboot ;;
14)
break;
esac
done