From 9bb1cb816ff6cc2e8451d2b1a328b2080a566c42 Mon Sep 17 00:00:00 2001 From: rsxchin <68041324+rsxchin@users.noreply.github.com> Date: Sun, 29 Jan 2023 18:19:26 -1000 Subject: [PATCH] Allow already connected Bunny No more need to disconnect and reconnect the bunny when using bunny-connecter.sh Also, it now looks for 00:11:22:33:44:55 instead of just 00:11:22 --- bunny-connecter.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bunny-connecter.sh b/bunny-connecter.sh index aebfe0a0..eafa1e65 100755 --- a/bunny-connecter.sh +++ b/bunny-connecter.sh @@ -125,12 +125,6 @@ function manualsetup { } function guidedsetup { - bunnydetected=$(ip addr | grep '00:11:22' -B1 | awk {'print $2'} | head -1 | grep 'eth\|en') - if [[ "$?" == 0 ]]; then - printf "\n Bash Bunny detected. Please disconnect the Bash Bunny from\n this computer and $(tput bold)press any key$(tput sgr0) to continue with guided setup.\n " - read -r -sn1 anykey - guidedsetup - fi hasiproute2=$(which ip) if [[ "$?" == 1 ]]; then printf "\n\n Configuration requires the 'iproute2' package (aka the 'ip' command).\n Please install 'iproute2' to continue.\n"; menu