mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update dv-list-tg.sh
This commit is contained in:
parent
863ed728e6
commit
1ca9af3f2f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue