11 if sys.argv[2] == "off":
13 elif len(sys.argv) == 2:
14 manager = dbus.Interface(bus.get_object('org.ofono', '/'),
16 modems = manager.GetModems()
19 if sys.argv[1] == "off":
22 print "%s [PATH] on/off" % (sys.argv[0])
25 print "Setting delivery report use for modem %s..." % path
26 sms = dbus.Interface(bus.get_object('org.ofono', path),
27 'org.ofono.MessageManager')
29 sms.SetProperty("UseDeliveryReports", dbus.Boolean(enabled));