Skip to content
Snippets Groups Projects
Commit d88cf5b0 authored by nimrod's avatar nimrod
Browse files

RaspberryPi boards.

parent 84788304
No related branches found
No related tags found
No related merge requests found
......@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment