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