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