Fix install script - NOW WORKS!

This commit is contained in:
Simon 2021-05-31 17:27:44 +01:00
parent 4ef08cbe5e
commit b7c91e75ee
2 changed files with 3 additions and 3 deletions

View File

@ -1321,7 +1321,7 @@ class routerOBP(OPENBRIDGE):
dmrpkt = _data[20:53]
_bits = _data[15]
if _call_type == 'group' or call_type == 'vcsbk':
if _call_type == 'group' or _call_type == 'vcsbk':
# Is this a new call stream?
if (_stream_id not in self.STATUS):
@ -1831,7 +1831,7 @@ class routerHBP(HBSYSTEM):
#Handle group calls
if _call_type == 'group' or call_type == 'vcsbk':
if _call_type == 'group' or _call_type == 'vcsbk':
# Is this a new call stream?
if (_stream_id != self.STATUS[_slot]['RX_STREAM_ID']):

View File

@ -155,7 +155,7 @@ echo Run FreeDMR container...
docker run --name=freedmr -d --read-only -v /etc/freedmr/freedmr.cfg:/opt/freedmr/freedmr.cfg \
-v /var/log/freedmr/freedmr.log:/opt/freedmr/freedmr.log \
-v /etc/freedmr/rules.py:/opt/freedmr/rules.py -p 62031:62031/udp -p 62036-62046:62036-62046/udp \
-p 4321:4321/tcp hacknix/freedmr:latest`
-p 4321:4321/tcp hacknix/freedmr:latest
echo Set to restart on boot and when it dies...
docker update --restart unless-stopped freedmr