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
|
###menu
|
||||||
sudo cat > /bin/menu <<- "EOF"
|
sudo cat > /bin/menu <<- "EOF"
|
||||||
#!/bin/bash
|
#!/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
|
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 \
|
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 " \
|
1 " APRS " \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue