mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update fdmr-update.sh
This commit is contained in:
parent
9f66cbef17
commit
123c6c8503
|
|
@ -95,6 +95,8 @@ sudo sed -i "s/SERVER_ID: 0000/SERVER_ID: $variable/g" /opt/FreeDMR/config/Free
|
||||||
sudo sed -i 's/100/60/' /opt/FreeDMR/config/FreeDMR.cfg
|
sudo sed -i 's/100/60/' /opt/FreeDMR/config/FreeDMR.cfg
|
||||||
#sudo sed -i 's/54100/54060/' /opt/FreeDMR/hotspot_proxy_v2.py
|
#sudo sed -i 's/54100/54060/' /opt/FreeDMR/hotspot_proxy_v2.py
|
||||||
#sudo sed -i 's/REPORT_CLIENTS: 127.0.0.1/REPORT_CLIENTS: */' /opt/FreeDMR/config/FreeDMR.cfg
|
#sudo sed -i 's/REPORT_CLIENTS: 127.0.0.1/REPORT_CLIENTS: */' /opt/FreeDMR/config/FreeDMR.cfg
|
||||||
|
sudo sed -i "s/TGID_URL:/#TGID_URL:/g" /opt/FreeDMR/config/FreeDMR.cfg
|
||||||
|
sed '38 a TGID_URL: https://freedmr.cymru/talkgroups/talkgroup_ids_json.php' -i /opt/FreeDMR/config/FreeDMR.cfg
|
||||||
rm /opt/conf.txt
|
rm /opt/conf.txt
|
||||||
#rm /opt/obp.txt
|
#rm /opt/obp.txt
|
||||||
cd /opt/FreeDMR/
|
cd /opt/FreeDMR/
|
||||||
|
|
@ -103,7 +105,7 @@ sudo sed -i 's/54915/49061/' /opt/FreeDMR/playback.cfg
|
||||||
######
|
######
|
||||||
cat /opt/rules.txt >> /opt/FreeDMR/config/rules.py
|
cat /opt/rules.txt >> /opt/FreeDMR/config/rules.py
|
||||||
sed '14 a VALIDATE_SERVER_IDS: True' -i /opt/FreeDMR/config/FreeDMR.cfg
|
sed '14 a VALIDATE_SERVER_IDS: True' -i /opt/FreeDMR/config/FreeDMR.cfg
|
||||||
sed '104 a override_ident_tg:' -i /opt/FreeDMR/config/FreeDMR.cfg
|
sed '105 a override_ident_tg:' -i /opt/FreeDMR/config/FreeDMR.cfg
|
||||||
sudo rm /opt/FreeDMR/hotspot_proxy_v2.py
|
sudo rm /opt/FreeDMR/hotspot_proxy_v2.py
|
||||||
#sudo rm /opt/FreeDMR/proxy_db.*
|
#sudo rm /opt/FreeDMR/proxy_db.*
|
||||||
cp /opt/FDMR-Monitor/proxy/* /opt/FreeDMR/ -r
|
cp /opt/FDMR-Monitor/proxy/* /opt/FreeDMR/ -r
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue