diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-05-27 19:02:15 -0700 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-05-27 19:02:15 -0700 |
| commit | 6564ee46c48cccd9d8947fea2fa570389f1646e9 (patch) | |
| tree | 646aec89cb9a90dfe6df853fc601d3c087d7c069 /boot/listwifi.py | |
| parent | 0e1762970b4c3cc938012d7644b70ec5e8ccf947 (diff) | |
| parent | 38258b6033869da653e6568195c5c870cbf4ddd5 (diff) | |
| download | jasper-client-6564ee46c48cccd9d8947fea2fa570389f1646e9.tar.gz jasper-client-6564ee46c48cccd9d8947fea2fa570389f1646e9.zip | |
Merge branch 'master' of https://github.com/jasperproject/jasper-client
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") |
