testing-script/minipcieusb-script/minipcieusb-script.sh
2025-04-14 16:01:34 +08:00

30 lines
618 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 1 ]; then
echo "### Find 1 EC25 4G Modules from two minipcie slots ###"
else
echo "Error Notice: Can not Find EC25 4G Modules from two minipcie slots"
RET=1
fi
echo "######################################################################################"
echo " "
echo " "
echo " "
sleep 2
return ${RET}