stop_exmimo2 508 Bytes
Newer Older
Rohit Gupta's avatar
Rohit Gupta committed
1 2 3 4 5 6 7 8
#!/bin/bash

echo "This script stops exmimo2 as it might be transmitting signal by itself if lte-softmodem terminates incorrectly"

if [ "$OPENAIR_DIR" == "" ]; then
  echo "Is the OPENAIR_DIR path set correctly? Exiting now"
  exit
fi
9
sudo -E bash -c 'echo 3 > /proc/sys/vm/drop_caches'
Rohit Gupta's avatar
Rohit Gupta committed
10 11 12 13 14 15 16 17

#load the module
sudo -E $OPENAIR_DIR/cmake_targets/tools/init_exmimo2

#now we stop the card from transmitting anything
cd $OPENAIR_DIR/targets/bin
sudo -E octave $OPENAIR_DIR/cmake_targets/tools/exmimo_stop_octave.m