Update update.sh

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

@ -994,30 +994,27 @@ 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)"
sudo systemctl daemon-reload
sudo systemctl start proxy.service
sudo systemctl start adn-server.service
sudo systemctl start adn-parrot.service
sudo systemctl enable proxy.service
sudo systemctl enable adn-server.service
sudo systemctl enable adn-parrot.service
#!/bin/bash
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/fdmr/-/raw/main/install.sh)"
sudo systemctl daemon-reload
sudo systemctl start proxy.service
sudo systemctl start adn-server.service
sudo systemctl start adn-parrot.service
sudo systemctl enable proxy.service
sudo systemctl enable adn-server.service
sudo systemctl enable adn-parrot.service
# 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
if [ -f "/bin/menu" ]; then
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
whiptail --title "Actualización de Software / Software Update" --msgbox "$mensaje" 15 60
The software on your server has been updated to version ADN-DMR-Peer-Server. Please exit the menu completely and enter: menu-adn"
# Usar whiptail para mostrar el mensaje
whiptail --title "Actualización de Software / Software Update" --msgbox "$mensaje" 15 60
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.