|
|
|
|
@ -188,7 +188,7 @@ EOF
|
|
|
|
|
##
|
|
|
|
|
cp /opt/FreeDMR/FreeDMR-SAMPLE.cfg /opt/FreeDMR-SAMPLE.cfg
|
|
|
|
|
cd /opt/
|
|
|
|
|
cat FreeDMR-SAMPLE.cfg conf.txt obp.txt >> /opt/FreeDMR/config/FreeDMR.cfg
|
|
|
|
|
sudo cat FreeDMR-SAMPLE.cfg conf.txt obp.txt >> /opt/FreeDMR/config/FreeDMR.cfg
|
|
|
|
|
sudo sed -i 's/file-timed/console-timed/' /opt/FreeDMR/config/FreeDMR.cfg
|
|
|
|
|
sudo sed -i 's/INFO/DEBUG/' /opt/FreeDMR/config/FreeDMR.cfg
|
|
|
|
|
sudo sed -i 's/freedmr.log/\/var\/log\/FreeDMR\/FreeDMR.log/' /opt/FreeDMR/config/FreeDMR.cfg
|
|
|
|
|
@ -203,7 +203,7 @@ rm /opt/FreeDMR-SAMPLE.cfg
|
|
|
|
|
cd /opt/FreeDMR/
|
|
|
|
|
mv loro.cfg /opt/FreeDMR/playback.cfg
|
|
|
|
|
sudo sed -i 's/54915/49061/' /opt/FreeDMR/playback.cfg
|
|
|
|
|
cat /opt/rules.txt >> /opt/FreeDMR/config/rules.py
|
|
|
|
|
sudo cat /opt/rules.txt >> /opt/FreeDMR/config/rules.py
|
|
|
|
|
|
|
|
|
|
cp /opt/FDMR-Monitor/proxy/hotspot_proxy_v2.py /opt/FreeDMR/hotspot_proxy_v2.py
|
|
|
|
|
cp /opt/FDMR-Monitor/proxy/proxy.cfg /opt/FreeDMR/proxy.cfg
|
|
|
|
|
|