summaryrefslogtreecommitdiffstats
path: root/common/scripts/test_can_loopback_mode.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-11-26 22:12:07 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-11-26 22:12:07 +0100
commit925a46030494ef05e4a737130ea66a74f85b30ed (patch)
treeca647a2f45ccf027c43cf3f10a083e2fa30504ab /common/scripts/test_can_loopback_mode.sh
parente1829b0d4d0de7faf73515d053ecff2ba229a895 (diff)
Verbose output
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'common/scripts/test_can_loopback_mode.sh')
-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