repo.or.cz
/
arrow.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ADD] conf for archlinux, <init>
[arrow.git]
/
archlinux_conf
/
home
/
.bin
/
shell
/
ssid_scan_arrow
blob
4f8bb7bbabcdbc5a6d256b3913048fe93107f3d7
1
#!/bin/bash
2
3
sudo iwlist
${ETH_WLAN}
scan |
grep
ESSID
> /
tmp
/
ssid
4
cat
/
tmp
/
ssid |
grep
--color
"ESSID"
5
echo
"--------"
6
cat
/
tmp
/
ssid |
grep
-i
"arrow"
7
if
[
"$?"
!=
"0"
];
then
8
echo
"_-_ none"
9
else
10
echo
"-_- here"
11
fi