|
|
|
@ -1,13 +1,11 @@
|
|
|
|
|
+++
|
|
|
|
|
# vim: ft=markdown
|
|
|
|
|
title = 'DMRHost on OpenBSD on a Raspberry-Pi 4'
|
|
|
|
|
summary = ''
|
|
|
|
|
date = '2023-08-20T08:24:04+02:00'
|
|
|
|
|
lastmod = '2023-08-20T09:15:14+0000'
|
|
|
|
|
title = 'DMRHost on a RaspberryPi 4 with OpenBSD'
|
|
|
|
|
summary = '''A rather quick demonstration of my recent test to install
|
|
|
|
|
DMRHost on a Raspberry Pi 4 which is running OpenBSD 7.3'''
|
|
|
|
|
date = '2023-08-26T19:07:53+0200'
|
|
|
|
|
#lastmod = ''
|
|
|
|
|
categories = [ 'amateur-radio' ]
|
|
|
|
|
tags = [ 'hotspot', 'raspberry-pi', 'openbsd' ]
|
|
|
|
|
|
|
|
|
|
draft = true
|
|
|
|
|
tags = [ 'hotspot', 'raspberry-pi', 'mmdvm', 'dmr', 'openbsd' ]
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
|
|
|
|
@ -142,6 +140,8 @@ Have a look at the `[Log]` section.
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
# rc-script for DMRHost on OpenBSD 7.3
|
|
|
|
|
# Dominic Reich <https://oe7drt.com>
|
|
|
|
|
|
|
|
|
|
DMRHOST="/usr/local/bin/DMRHost"
|
|
|
|
|
MMDVM_INI="/home/mmdvm/MMDVM.ini"
|
|
|
|
@ -160,14 +160,14 @@ case "$1" in
|
|
|
|
|
echo "${MMDVM_INI} is not readable... aborting!"
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|
echo "Starting DMRHost..."
|
|
|
|
|
echo -n "Starting DMRHost..."
|
|
|
|
|
${DOAS} ${DMRHOST} ${MMDVM_INI} &
|
|
|
|
|
echo $! > ${DMRHOST_PID}
|
|
|
|
|
echo " done"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
"stop")
|
|
|
|
|
echo "Stopping DMRHost..."
|
|
|
|
|
echo -n "Stopping DMRHost..."
|
|
|
|
|
if [ -f ${DMRHOST_PID} ] ; then
|
|
|
|
|
kill `cat ${DMRHOST_PID}`
|
|
|
|
|
rm -f ${DMRHOST_PID}
|
|
|
|
@ -178,7 +178,6 @@ case "$1" in
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
"restart")
|
|
|
|
|
echo "Restarting DMRHost..."
|
|
|
|
|
$0 stop
|
|
|
|
|
sleep 2
|
|
|
|
|
$0 start
|