Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
system
/
connectivity
/
shill
/
7efde5b3b20f36716b10bdd9691823443704caf1
/
.
/
test-scripts
/
set-portal-list
blob: e22517464f9fb22d76517773add15be0964b099f [
file
] [
log
] [
blame
]
#!/usr/bin/python
import
dbus
,
flimflam
,
sys
if
(
len
(
sys
.
argv
)
<
2
):
print
"Usage: %s check-portal-list"
%
(
sys
.
argv
[
0
])
sys
.
exit
(
1
)
(
_
,
portal_list
)
=
sys
.
argv
flim
=
flimflam
.
FlimFlam
(
dbus
.
SystemBus
())
flim
.
SetCheckPortalList
(
portal_list
)