From d88cf5b0cff7a94a3cca573e1015bce9966ca2e1 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 22 Aug 2018 15:37:59 +0300 Subject: [PATCH] RaspberryPi boards. --- Documents/bin/boxssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documents/bin/boxssh b/Documents/bin/boxssh index 8f6cd5f..9b307f7 100755 --- a/Documents/bin/boxssh +++ b/Documents/bin/boxssh @@ -13,7 +13,7 @@ if [ -n "${1:-}" ] then gateway="$1" else - gateway="$(ip neigh show | awk '$5 ~ /^38:b8:eb:5/ {print $1}')" + gateway="$(ip neigh show | awk '$5 ~ /^38:b8:eb:5/ || $5 ~ /^b8:27:eb:/ {print $1}')" [ -n "$gateway" ] || die "Can't find Dojo box IP." fi ssh "$gateway" -- GitLab