projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed776f9
)
Show the connected value for each network
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 7 Aug 2008 02:10:12 +0000
(
04:10
+0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 7 Aug 2008 02:10:12 +0000
(
04:10
+0200)
test/list-networks
patch
|
blob
|
history
diff --git
a/test/list-networks
b/test/list-networks
index
72a9ad1
..
d3fa34d
100755
(executable)
--- a/
test/list-networks
+++ b/
test/list-networks
@@
-19,4
+19,8
@@
for path in elements:
print "[ %s ]" % (path)
if (properties["Type"] == "network"):
- print " %s" % (properties["SSID"])
+ if (properties["Connected"] == 1):
+ state = "*"
+ else:
+ state = " "
+ print " %s %s" % (state, properties["SSID"])