#!/bin/bash
#
# run flradio as receiver:

PROG_PREFIX=/home/src/fldigi/fldigi-3.22.02-R/src
PROG=fldigi
LOG_PREFIX=~/flradiologs
LOG=$LOG_PREFIX/flRadioK3.log

ulimit -c unlimited
cd /home/src/fldigi/fldigi-3.22.02-R
echo "Running hydra-mode transmit" $PROG "from:" $PROG_PREFIX

$PROG_PREFIX/$PROG --config-dir /home/smp/.flRadioK3 --hydra-role transmit

###cd /home/smp
###echo "Running" $PROG "from:" $PROG_PREFIX
### ", log: " $LOG > $LOG
###$PROG_PREFIX/$PROG -ti FlRadioK3 --config-dir /home/smp/.flRadioK3
### --debug-audio
### >> $LOG 2>&1 &

###tail -F $LOG
