mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update menu
This commit is contained in:
parent
2f0272234c
commit
d338791849
|
|
@ -1,6 +1,11 @@
|
|||
###menu
|
||||
sudo cat > /bin/menu <<- "EOF"
|
||||
#!/bin/bash
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
whiptail --title "menu" --msgbox "requiere ser usuario root , escriba (sudo su) antes de entrar a menu / requires root user, type (sudo su) before entering menu" 0 50
|
||||
exit 0
|
||||
fi
|
||||
|
||||
while : ; do
|
||||
choix=$(whiptail --title "Proyect emq-TE1+ Rev: R00ab / Raspbian Proyect by HP3ICC 73." --menu "Suba o Baje con las flechas del teclado y seleccione el numero de opcion:" 24 70 15 \
|
||||
1 " APRS " \
|
||||
|
|
|
|||
Loading…
Reference in New Issue