Commit 26361d2d authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: fix init-sdr for recent version of amarisoft

TODO: fix the check, it should check the PCB number and not the
Amarisoft version.
parent eb4701a6
......@@ -7,7 +7,7 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH"
$AMARISOFT_PATH/trx_sdr/sdr_util version && exit;
lsof /dev/sdr0 && exit;
lsmod | grep -q sdr && rmmod sdr;
if echo $AMARISOFT_PATH | grep -q 2023; then
if echo $AMARISOFT_PATH | grep -q '2023\|2024'; then
cd $OLD_AMARISOFT_PATH/trx_sdr/kernel;
make clean && make && bash init.sh;
rmmod sdr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment