#!/bin/bash
# check dma trace output
sudo rmbox -t > rmbox.log & sleep 2 ; pkill -9 rmbox
# get size of trace log
size=`du -k rmbox.log |awk '{print $1}'`
if [ $size -gt 1 ]; then
exit 0
else
exit 1
fi
rm -f rmbox.log