mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update install.sh
This commit is contained in:
parent
9d178d9bd7
commit
2f0272234c
|
|
@ -1,10 +1,14 @@
|
||||||
#!/bin/sh
|
#!/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
|
echo Actualizando sistema
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
apt-get upgrade -y
|
apt-get upgrade -y
|
||||||
|
|
||||||
apt-get install sed wavemon -y
|
apps=("git" "sudo" "curl" "wget" "sed" "wavemon")
|
||||||
apps=("git" "sudo" "curl" "wget" "sed")
|
|
||||||
|
|
||||||
for app in "${apps[@]}"
|
for app in "${apps[@]}"
|
||||||
do
|
do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue