Update install.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-06-03 08:54:13 +00:00
parent 9d178d9bd7
commit 2f0272234c
1 changed files with 6 additions and 2 deletions

View File

@ -1,10 +1,14 @@
#!/bin/sh
if [[ $EUID -ne 0 ]]; then
whiptail --title "emq-TE1" --msgbox "Debe ejecutar este script como usuario ROOT" 0 50
exit 0
fi
echo Actualizando sistema
apt-get update -y
apt-get upgrade -y
apt-get install sed wavemon -y
apps=("git" "sudo" "curl" "wget" "sed")
apps=("git" "sudo" "curl" "wget" "sed" "wavemon")
for app in "${apps[@]}"
do