#!/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/flRadioRx$1.log

cd /home/src/fldigi/fldigi-3.22.01-R
echo "Running hydra-mode receive" $PROG "from:" $PROG_PREFIX
### ", log: " $LOG > $LOG

$PROG_PREFIX/$PROG -title "FlRadio-$1" --config-dir /home/smp/.testR$1 --hydra-role receive
### -title "FlRadio$1 Hydra-Rcv"
###/home/smp/.flRadioRx$1
### --debug-audio
### >> $LOG 2>&1 &

###tail -F $LOG
