#!/bin/bash
#
# run flrigsdr:

PROG_PREFIX=/home/src/fldigi/flrig-1.3.18-R/src
PROG=flrig
LOG_PREFIX=~/fldigilogs
LOG=$LOG_PREFIX/flrigsdr$1.log

ulimit -c unlimited
cd /home/smp
echo "Running" $PROG "from:" $PROG_PREFIX
### ", log: " $LOG > $LOG

$PROG_PREFIX/$PROG -title FlRigSdr$1 --exp --debug-level 3 --config-dir /home/smp/.flrigsdr$1
### >> $LOG 2>&1 &

###tail -F $LOG
