testing-script/m2keybusb2-script/m2keybusb2-script.sh

30 lines
632 B
Bash

#/bin/bash
RET=0
sleep 2
echo " "
echo " "
echo " "
echo "######################################################################################"
echo "########################### M.2 KeyB USB2.0 Testing Start ##########################"
result=`lsusb | grep "2c7c:0125" | wc -l`
if [ ${result} -eq 3 ]; then
echo "### Find three EM05 4G Modules from three M.2 KeyB slots ###"
else
echo "Error Notice: Can not Find three EM05 4G Modules from three M.2 KeyB slots"
RET=1
fi
echo "######################################################################################"
echo " "
echo " "
echo " "
sleep 2
return ${RET}