projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de6bde6
)
Cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Fri, 2 Apr 2010 18:50:14 +0000
(20:50 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 2 Apr 2010 18:50:14 +0000
(20:50 +0200)
hotspot.sh
patch
|
blob
|
history
diff --git
a/hotspot.sh
b/hotspot.sh
index
1cd5a22
..
f979c11
100755
(executable)
--- 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
;;