diff --git a/update.sh b/update.sh index 5a78d9f..0a599ee 100644 --- a/update.sh +++ b/update.sh @@ -398,7 +398,6 @@ fi #sudo -H pip3 install --upgrade pip #pip install pyopenssl --upgrade 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 cd ADN-DMR-Peer-Server 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 fi ############## -cd / + sudo systemctl stop fdmr_mon.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 /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 menu-update else