testing-script/m2keybusb3-script/m2keybusb3-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 "########################### M.2 KeyB USB3.0 Testing Start ##########################"
result=`lsusb | grep "2c7c:0900" | wc -l`
if [ ${result} -eq 1 ]; then
echo "### Find one RM500U-CN 5G Module from M.2 KeyB slots ###"
else
echo "Error Notice: Can not Find one RM500U-CN 5G Module from M.2 KeyB slots"
RET=1
fi
echo "######################################################################################"
echo " "
echo " "
echo " "
sleep 2
return ${RET}