mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update menu
This commit is contained in:
parent
e2e4b89538
commit
9a2b7a46ce
14
menu/menu
14
menu/menu
|
|
@ -12,9 +12,10 @@ choix=$(whiptail --title "Proyect emq-TE1+ Rev: R00ab / Raspbian Proyect by HP3I
|
|||
7 " Editar WiFi " \
|
||||
8 " DDNS NoIP " \
|
||||
9 " GoTTY " \
|
||||
10 " Update " \
|
||||
11 " Reiniciar Equipo " \
|
||||
12 " Salir del menu " 3>&1 1>&2 2>&3)
|
||||
10 " Firewall " \
|
||||
11 " Update " \
|
||||
12 " Reiniciar Equipo " \
|
||||
13 " Salir del menu " 3>&1 1>&2 2>&3)
|
||||
exitstatus=$?
|
||||
#on recupere ce choix
|
||||
#exitstatus=$?
|
||||
|
|
@ -44,14 +45,17 @@ menu-noip ;;
|
|||
9)
|
||||
menu-web ;;
|
||||
10)
|
||||
sh -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/update.sh)" ;;
|
||||
menu-ufw ;;
|
||||
11)
|
||||
menu-reboot ;;
|
||||
sh -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/update.sh)" ;;
|
||||
12)
|
||||
menu-reboot ;;
|
||||
13)
|
||||
break;
|
||||
esac
|
||||
done
|
||||
exit 0
|
||||
|
||||
EOF
|
||||
#
|
||||
variable22=$(grep "EMQ-VER:" /opt/emq-ver | grep -Eo '[A.0-9]{1,9}')
|
||||
|
|
|
|||
Loading…
Reference in New Issue