From d0c909dab1a06f5970216befd2cd0839327914fe Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 26 May 2014 22:34:06 -0400 Subject: removed network setup wizard --- boot/listwifi.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 boot/listwifi.py (limited to 'boot/listwifi.py') 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") -- cgit v1.3.1