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