testing-script/m2keybusb-script/m2keybusb-script.sh
2025-04-15 14:12:57 +08:00

30 lines
614 B
Bash
Executable File

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