summaryrefslogtreecommitdiff
path: root/test/enable-tethering
blob: 51a9cca71473f74f6dff80b712b7a218c231b0c9 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/python

import dbus

bus = dbus.SystemBus()

manager = dbus.Interface(bus.get_object('net.connman', "/"),
					'net.connman.Manager')

manager.SetProperty("Tethering", dbus.Boolean(1));