X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=hotspot.sh;h=f979c11d697c3c65d3b7fb13ff14d34c69127016;hb=64b41be2a78d2dc2d500f140491ed69a890d82ad;hp=1cd5a22aff3b9e17a077c040f86d9221b2743e64;hpb=2b983c5c7336826b764036e3e1478a5a8159248a;p=scripts.git diff --git a/hotspot.sh b/hotspot.sh index 1cd5a22..f979c11 100755 --- a/hotspot.sh +++ b/hotspot.sh @@ -70,6 +70,7 @@ function sigint-handler () { } function scan () { + echo " Scanning ..." iwconfig ${INTERFACE} ap off essid "" iwlist ${INTERFACE} scan | \ sed -e "s/^[\t ]*//" | grep ^"Cell\|ESSID\|Quality\|Encryption" | \ @@ -210,14 +211,12 @@ function process-key () { ;; r|s) # re-scanning the access points - echo "Scanning ..." scan redisplay ;; m) # Switching the mode to show the protected spots SHOW_CLOSED=$((1-SHOW_CLOSED)) - echo "Scanning ..." scan redisplay ;; @@ -239,7 +238,7 @@ function process-key () { ;; "esc-esc"|q) - echo "quit" + echo " Quit." cont=0 ;;