Loading Documents/bin/boxssh +1 −1 Original line number Diff line number Diff line Loading @@ -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" Loading
Documents/bin/boxssh +1 −1 Original line number Diff line number Diff line Loading @@ -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"