mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update install.sh
This commit is contained in:
parent
e2f78877bc
commit
10c8d118c0
10
install.sh
10
install.sh
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
##############################
|
||||
cat > /opt/emq-ver <<- "EOF"
|
||||
EMQ-VER: 23.10.18
|
||||
EOF
|
||||
##############################
|
||||
# Verificar si el usuario tiene permisos de root
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "Este script debe ejecutarse como usuario ROOT"
|
||||
|
|
@ -87,10 +91,6 @@ rustup default 1.72.0
|
|||
|
||||
echo "Instalación completa."
|
||||
|
||||
####################
|
||||
sudo cat > /opt/emq-ver <<- "EOF"
|
||||
EMQ-VER: 23.10.18
|
||||
EOF
|
||||
####################
|
||||
sudo timedatectl set-timezone America/Panama
|
||||
####################################################################################
|
||||
|
|
|
|||
Loading…
Reference in New Issue