add rescan option to network selection screen

This commit is contained in:
strasharo 2016-05-01 17:01:58 +03:00
parent 92baeaf0b2
commit 6da6743d34
1 changed files with 6 additions and 1 deletions

View File

@ -827,9 +827,14 @@ function selection {
echo
echo -e ""$green "("$white"*"$green ")Active clients"$transparent""
echo ""
echo " Select Target "
echo -e " Select target. For rescan type$red r$transparent"
echo -n " #> "
read choice
if [[ $choice -eq "r" ]]; then
deltax
fi
idlenght=${aidlenght[$choice]}
ssid=${assid[$choice]}
channel=$(echo ${achannel[$choice]}|tr -d [:space:])