6 if (len(sys.argv) < 1):
7 print "Usage: %s [timeserver*]" % (sys.argv[0])
10 bus = dbus.SystemBus()
12 clock = dbus.Interface(bus.get_object('net.connman', '/'),
15 print "Setting timeserver to %s" % (sys.argv[1:])
17 clock.SetProperty("Timeservers", dbus.Array(sys.argv[1:],
18 signature=dbus.Signature('s')))