Update update.sh

merge-requests/1/head
Script Proyect by HP3ICC 2 years ago
parent 6881ded827
commit 7a73265125

@ -994,8 +994,7 @@ sudo chmod +x /opt/monitor-update.sh
sudo chmod +x /bin/menu* sudo chmod +x /bin/menu*
sudo chmod +x /opt/monitor-update2.sh sudo chmod +x /opt/monitor-update2.sh
if [ -d "/opt/ADN-DMR-Peer-Server/" ] if [ -d "/opt/ADN-DMR-Peer-Server/" ]; then
then
menu-update menu-update
else else
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/fdmr/-/raw/main/install.sh)" bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/fdmr/-/raw/main/install.sh)"
@ -1007,7 +1006,9 @@ sudo systemctl enable proxy.service
sudo systemctl enable adn-server.service sudo systemctl enable adn-server.service
sudo systemctl enable adn-parrot.service sudo systemctl enable adn-parrot.service
#!/bin/bash if [ -f "/bin/menu" ]; then
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu)"
fi
# Mensaje en español e inglés, separados por una línea en blanco # Mensaje en español e inglés, separados por una línea en blanco
mensaje="El software de su servidor ha sido actualizado a la versión ADN-DMR-Peer-Server. Por favor, salga por completo del menú e ingrese a: menu-adn mensaje="El software de su servidor ha sido actualizado a la versión ADN-DMR-Peer-Server. Por favor, salga por completo del menú e ingrese a: menu-adn
@ -1016,8 +1017,4 @@ The software on your server has been updated to version ADN-DMR-Peer-Server. Ple
# Usar whiptail para mostrar el mensaje # Usar whiptail para mostrar el mensaje
whiptail --title "Actualización de Software / Software Update" --msgbox "$mensaje" 15 60 whiptail --title "Actualización de Software / Software Update" --msgbox "$mensaje" 15 60
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.