From 925a46030494ef05e4a737130ea66a74f85b30ed Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Tue, 26 Nov 2019 22:12:07 +0100 Subject: Verbose output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Simon Möller --- common/scripts/test_can_loopback_mode.sh | 5 +++-- 1 file 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 -- cgit 1.2.3-korg