Update update.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-06-06 00:22:05 +00:00
parent 74a8a70e8d
commit a030c89686
1 changed files with 10 additions and 1 deletions

View File

@ -33,7 +33,8 @@ choix=$(whiptail --title "Raspbian Proyect HP3ICC Menu Avance Upgrade" --menu "N
" 21 50 8 \
1 " UPGRADE to Reuter AP Mode " \
2 " install DVSMU " \
3 " Menu Principal " 3>&1 1>&2 2>&3)
3 " install raspi-config " \
4 " Menu Principal " 3>&1 1>&2 2>&3)
exitstatus=$?
#on recupere ce choix
#exitstatus=$?
@ -49,6 +50,14 @@ bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/te1ap.sh)" ;;
2)
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/DVSMU/-/raw/main/emq-dvsmu.sh)" ;;
3)
if [ "$(cat /proc/cpuinfo | grep 'Raspberry')" != "" ]; then
apt-get update
sudo apt-get install raspi-config -y
else
whiptail --title "emq-TE1" --msgbox "Solo para Raspberry / Only for Raspberry" 0 50
exit 0
fi;;
4)
break;
esac
done