summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcommon/scripts/test_can_loopback_mode.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/scripts/test_can_loopback_mode.sh b/common/scripts/test_can_loopback_mode.sh
index 9a7acf6..4f4ae76 100755
--- a/common/scripts/test_can_loopback_mode.sh
+++ b/common/scripts/test_can_loopback_mode.sh
@@ -14,8 +14,9 @@ if [ ! -e /sys/class/net/can0 ];then
fi
sleep 2
-
-ip -V |grep -q BusyBox
+set -x
+ip -V | grep -q -i BusyBox
+set +x
if [ $? -eq 0 ];then
echo "WARN: busybox ip is not handled"
# busybox ip does not handle bitrate option