30 lines
624 B
Bash
30 lines
624 B
Bash
#/bin/bash
|
|
|
|
RET=0
|
|
|
|
sleep 2
|
|
|
|
echo " "
|
|
echo " "
|
|
echo " "
|
|
echo "######################################################################################"
|
|
echo "####################### Two minipcie 4G Modules Testing Start #######################"
|
|
|
|
result=`lsusb | grep "2c7c:0125" | wc -l`
|
|
if [ ${result} -eq 2 ]; then
|
|
echo "### Find two EC25 4G Modules from two minipcie slots ###"
|
|
else
|
|
echo "Error Notice: Can not Find two EC25 4G Modules from two minipcie slots"
|
|
RET=1
|
|
fi
|
|
|
|
echo "######################################################################################"
|
|
echo " "
|
|
echo " "
|
|
echo " "
|
|
|
|
sleep 2
|
|
|
|
return ${RET}
|
|
|