summaryrefslogtreecommitdiff
path: root/test/disable-tethering
blob: 01cc96cac97d2433fcdedb86df4c2ae64172b4a4 (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(0));