Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
system
/
connectivity
/
shill
/
1ca3ebd931b41e6fd98056dcf415322280f6aeab
/
.
/
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
)