Update update.sh

merge-requests/1/head
Esteban Mackay Q. 2 years ago
parent 7a73265125
commit b8e17a340a

@ -398,7 +398,6 @@ fi
#sudo -H pip3 install --upgrade pip #sudo -H pip3 install --upgrade pip
#pip install pyopenssl --upgrade #pip install pyopenssl --upgrade
cd /opt cd /opt
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/ipv6off.sh)" &&
git clone https://github.com/Amateur-Digital-Network/ADN-DMR-Peer-Server.git git clone https://github.com/Amateur-Digital-Network/ADN-DMR-Peer-Server.git
cd ADN-DMR-Peer-Server cd ADN-DMR-Peer-Server
sudo git checkout develop sudo git checkout develop
@ -760,7 +759,7 @@ if ! grep -q "Web-Dashboar-name: adn" "/opt/wdp" > /dev/null 2>&1; then
sed -i "s|Web-Dashboar-name:.*|Web-Dashboar-name: adn|g" /opt/wdp sed -i "s|Web-Dashboar-name:.*|Web-Dashboar-name: adn|g" /opt/wdp
fi fi
############## ##############
cd /
sudo systemctl stop fdmr_mon.service sudo systemctl stop fdmr_mon.service
sudo systemctl stop fdmr_mon2.service sudo systemctl stop fdmr_mon2.service
@ -994,6 +993,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
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/ipv6off.sh)" &&
if [ -d "/opt/ADN-DMR-Peer-Server/" ]; then if [ -d "/opt/ADN-DMR-Peer-Server/" ]; then
menu-update menu-update
else else

Loading…
Cancel
Save

Powered by TurnKey Linux.