|
|
|
|
@ -994,8 +994,7 @@ sudo chmod +x /opt/monitor-update.sh
|
|
|
|
|
sudo chmod +x /bin/menu*
|
|
|
|
|
sudo chmod +x /opt/monitor-update2.sh
|
|
|
|
|
|
|
|
|
|
if [ -d "/opt/ADN-DMR-Peer-Server/" ]
|
|
|
|
|
then
|
|
|
|
|
if [ -d "/opt/ADN-DMR-Peer-Server/" ]; then
|
|
|
|
|
menu-update
|
|
|
|
|
else
|
|
|
|
|
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-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="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
|
|
|
|
|
whiptail --title "Actualización de Software / Software Update" --msgbox "$mensaje" 15 60
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|