Commit c6cd6bd5 authored by Joanne Hugé's avatar Joanne Hugé

playbook: fix init-sdr for version > 2024 of amarisoft

parent 6126186f
Pipeline #36251 failed with stage
in 0 seconds
...@@ -7,7 +7,7 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH" ...@@ -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; $AMARISOFT_PATH/trx_sdr/sdr_util version && exit;
lsof /dev/sdr0 && exit; lsof /dev/sdr0 && exit;
lsmod | grep -q sdr && rmmod sdr; lsmod | grep -q sdr && rmmod sdr;
if echo $AMARISOFT_PATH | grep -q '2023\|2024'; then if echo $AMARISOFT_PATH | grep -v -q 2021; then
cd $OLD_AMARISOFT_PATH/trx_sdr/kernel; cd $OLD_AMARISOFT_PATH/trx_sdr/kernel;
make clean && make && bash init.sh; make clean && make && bash init.sh;
rmmod sdr; rmmod sdr;
......
033cf3b2d4302ac2c366f64f4969904327622d4e21820777edabeebfcd024270 - 42d7f5e6c257e9b606b88944bcc11247d18942e3b3cabf3d7a908ab535698b4b -
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