merge-requests/1/head
Esteban Mackay Q 2 years ago
parent e1af157848
commit 6e3f57aea4

@ -319,7 +319,14 @@ sed -i "s/VALIDATE_SERVER_IDS:.*/VALIDATE_SERVER_IDS: False/g" /opt/FreeDMR/Free
sed -i "s/ALLOW_UNREG_ID:.*/ALLOW_UNREG_ID: True/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/PROXY_CONTROL:.*/PROXY_CONTROL: False/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/54000/56000/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/TRY_DOWNLOAD:.*/TRY_DOWNLOAD: False/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
#sed -i "s/TRY_DOWNLOAD:.*/TRY_DOWNLOAD: False/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/CHECKSUM_URL:.*/CHECKSUM_URL:/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/CHECKSUM_FILE:.*/CHECKSUM_FILE:/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/SUBSCRIBER_FILE:.*/SUBSCRIBER_FILE: user.json/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/SUBSCRIBER_URL:.*/SUBSCRIBER_URL: http:\/\/datafiles.ddns.net:8888\/user.json/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/TGID_URL:.*/TGID_URL: http:\/\/datafiles.ddns.net:8888\/talkgroup_ids.json/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/PEER_FILE:.*/PEER_FILE: rptrs.json/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/EER_URL:.*/PEER_URL: https:\/\/database.radioid.net\/static\/rptrs.json/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
cp /opt/FreeDMR/FreeDMR-SAMPLE.cfg /opt/FreeDMR-SAMPLE.cfg
cd /opt/

@ -527,7 +527,14 @@ sudo sed -i "s/VALIDATE_SERVER_IDS:.*/VALIDATE_SERVER_IDS: False/g" /opt/FreeDMR
sudo sed -i "s/ALLOW_UNREG_ID:.*/ALLOW_UNREG_ID: True/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sudo sed -i "s/PROXY_CONTROL:.*/PROXY_CONTROL: False/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sudo sed -i "s/54000/56000/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sudo sed -i "s/TRY_DOWNLOAD:.*/TRY_DOWNLOAD: False/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
#sudo sed -i "s/TRY_DOWNLOAD:.*/TRY_DOWNLOAD: False/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/CHECKSUM_URL:.*/CHECKSUM_URL:/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/CHECKSUM_FILE:.*/CHECKSUM_FILE:/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/SUBSCRIBER_FILE:.*/SUBSCRIBER_FILE: user.json/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/SUBSCRIBER_URL:.*/SUBSCRIBER_URL: http:\/\/datafiles.ddns.net:8888\/user.json/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/TGID_URL:.*/TGID_URL: http:\/\/datafiles.ddns.net:8888\/talkgroup_ids.json/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/PEER_FILE:.*/PEER_FILE: rptrs.json/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
sed -i "s/EER_URL:.*/PEER_URL: https:\/\/database.radioid.net\/static\/rptrs.json/g" /opt/FreeDMR/FreeDMR-SAMPLE.cfg
cp /opt/FreeDMR/FreeDMR-SAMPLE.cfg /opt/FreeDMR-SAMPLE.cfg
cd /opt/
sudo cat FreeDMR-SAMPLE.cfg conf.txt obp.txt >> /opt/FreeDMR/config/FreeDMR.cfg

Loading…
Cancel
Save

Powered by TurnKey Linux.