From: Francois Fleuret Date: Fri, 2 Apr 2010 18:50:14 +0000 (+0200) Subject: Cosmetics. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=a173cf64c22f6619ab1e9c56fe38e678d9299c71;p=scripts.git Cosmetics. --- 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 ;;