Update dv-list-tg.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-04-30 10:06:42 +00:00
parent 863ed728e6
commit 1ca9af3f2f
1 changed files with 4 additions and 2 deletions

View File

@ -16,9 +16,11 @@ fi
# case : action en fonction du choix
case $choix in
1)
sudo sed -i '538s/curl --fail -o "$NODE_DIR\/$1" -s.*/curl --fail -o "$NODE_DIR\/$1" -s http:\/\/freedmr-hp.ddns.net\/downloads\/$1/' /opt/MMDVM_Bridge/dvswitch.sh ;;
sudo sed -i '538s/curl --fail -o "$NODE_DIR\/$1" -s.*/curl --fail -o "$NODE_DIR\/$1" -s http:\/\/freedmr-hp.ddns.net\/downloads\/$1/' /opt/MMDVM_Bridge/dvswitch.sh
sudo sed -i "s/https:\/\/database.radioid.net\/static\/user.csv/http:\/\/datafiles.ddns.net:8888\/user.csv/g" /opt/MMDVM_Bridge/dvswitch.sh ;;
2)
sudo sed -i '538s/curl --fail -o "$NODE_DIR\/$1" -s.*/curl --fail -o "$NODE_DIR\/$1" -s http:\/\/www.pistar.uk\/downloads\/$1/' /opt/MMDVM_Bridge/dvswitch.sh ;;
sudo sed -i '538s/curl --fail -o "$NODE_DIR\/$1" -s.*/curl --fail -o "$NODE_DIR\/$1" -s http:\/\/www.pistar.uk\/downloads\/$1/' /opt/MMDVM_Bridge/dvswitch.sh
sudo sed -i "s/http:\/\/datafiles.ddns.net:8888\/user.csv/https:\/\/database.radioid.net\/static\/user.csv/g" /opt/MMDVM_Bridge/dvswitch.sh ;;
3)
/usr/local/dvs/dvs;
esac