testing-script/minipcieusb-script/minipcieusb-script.sh
2025-04-07 17:28:13 +08:00

30 lines
624 B
Bash

#/bin/bash
RET=0
sleep 2
echo " "
echo " "
echo " "
echo "######################################################################################"
echo "######################### minipcie 4G Module 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}