Update install.sh

This commit is contained in:
Esteban Mackay Q 2023-10-18 22:56:16 -05:00
parent 10c8d118c0
commit 545c769688
1 changed files with 6 additions and 7 deletions

View File

@ -1,9 +1,4 @@
#!/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"
@ -135,7 +130,6 @@ EOF
sudo chmod +x /usr/local/bin/cronedit.sh
####################
echo iniciando instalacion
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/rm.sh)" &&
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/dvswitch.sh)" &&
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/direwolf.sh)" &&
@ -161,7 +155,6 @@ bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/p25.s
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/p25cross.sh)" &&
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/data-mmdvm.sh)"
echo install menu
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu)" &&
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-aprs)" &&
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/python-aprs-beacon/-/raw/main/menu.sh)" &&
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-dvs)" &&
@ -216,6 +209,12 @@ done
exit 0
EOF
###
##############################
cat > /opt/emq-ver <<- "EOF"
EMQ-VER: 23.10.18
EOF
##############################
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu)"
sudo chmod +x /tmp/completado.sh
history -c && history -w
sh /tmp/completado.sh