diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-05-26 22:34:06 -0400 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-05-26 22:34:06 -0400 |
| commit | d0c909dab1a06f5970216befd2cd0839327914fe (patch) | |
| tree | 3ab3d02855bf7dbae37a922b0d335cc295a52cf1 /boot/listwifi.py | |
| parent | 7233b605e9079688c0a18e4491bc317eb88f618d (diff) | |
| download | jasper-client-d0c909dab1a06f5970216befd2cd0839327914fe.tar.gz jasper-client-d0c909dab1a06f5970216befd2cd0839327914fe.zip | |
removed network setup wizard
Diffstat (limited to 'boot/listwifi.py')
| -rwxr-xr-x | boot/listwifi.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/boot/listwifi.py b/boot/listwifi.py deleted file mode 100755 index 5ee14de..0000000 --- a/boot/listwifi.py +++ /dev/null @@ -1,18 +0,0 @@ -import os -import subprocess - -subprocess.call("iwlist wlan0 scan > temp.txt", shell = True) -output = open("temp.txt") - -lines = output.readlines() - -for index, line in enumerate(lines): - - if "Address" in line: - - address = line[29:-1] - name = lines[index + 1].split("\"")[1] - - print "%s is %s" % (address, name) - -os.system("rm temp.txt") |
