|
|
|
@ -994,30 +994,27 @@ 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)"
|
|
|
|
sudo systemctl daemon-reload
|
|
|
|
sudo systemctl daemon-reload
|
|
|
|
sudo systemctl start proxy.service
|
|
|
|
sudo systemctl start proxy.service
|
|
|
|
sudo systemctl start adn-server.service
|
|
|
|
sudo systemctl start adn-server.service
|
|
|
|
sudo systemctl start adn-parrot.service
|
|
|
|
sudo systemctl start adn-parrot.service
|
|
|
|
sudo systemctl enable proxy.service
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Mensaje en español e inglés, separados por una línea en blanco
|
|
|
|
if [ -f "/bin/menu" ]; then
|
|
|
|
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
|
|
|
|
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu)"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
The software on your server has been updated to version ADN-DMR-Peer-Server. Please exit the menu completely and enter: menu-adn"
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
|
# Usar whiptail para mostrar el mensaje
|
|
|
|
The software on your server has been updated to version ADN-DMR-Peer-Server. Please exit the menu completely and enter: menu-adn"
|
|
|
|
whiptail --title "Actualización de Software / Software Update" --msgbox "$mensaje" 15 60
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Usar whiptail para mostrar el mensaje
|
|
|
|
|
|
|
|
whiptail --title "Actualización de Software / Software Update" --msgbox "$mensaje" 15 60
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|