#/bin/bash RET=0 sleep 2 echo " " echo " " echo " " echo "######################################################################################" echo "########################### M.2 KeyB USB3.0 Testing Start ##########################" result=`lsusb | grep "2c7c:0900" | wc -l` if [ ${result} -eq 1 ]; then echo "### Find one RM500U-CN 5G Module from M.2 KeyB slots ###" else echo "Error Notice: Can not Find one RM500U-CN 5G Module from M.2 KeyB slots" RET=1 fi echo "######################################################################################" echo " " echo " " echo " " sleep 2 return ${RET}