Fixed Tizen Profile Build Flag as per Tizen 3.0
[platform/upstream/connman.git] / test / remove-provider
1 #!/usr/bin/python
2
3 import sys
4 import dbus
5
6 if (len(sys.argv) < 2):
7         print "Usage: %s <VPN service path> " % (sys.argv[0])
8         sys.exit(1)
9
10 bus = dbus.SystemBus()
11
12 manager = dbus.Interface(bus.get_object("net.connman", "/"),
13                                         "net.connman.Manager")
14
15 path = "" + sys.argv[1]
16
17 print "remove path is %s" %(path)
18
19 manager.RemoveProvider(sys.argv[1])