summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulien Massot <jmassot@aldebaran-robotics.com>2012-04-04 17:08:29 +0000
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-04-11 16:51:33 +0300
commitb62d1aae1f9367d03587f417458cec85a8425efe (patch)
tree018c67e2c78d3c53ca9bcc6de3ad0893f36b2656 /test
parent71f73512d4ef0901fbdcded0d1c5fddd794d8d67 (diff)
downloadconnman-b62d1aae1f9367d03587f417458cec85a8425efe.tar.gz
connman-b62d1aae1f9367d03587f417458cec85a8425efe.tar.bz2
connman-b62d1aae1f9367d03587f417458cec85a8425efe.zip
test: Remove provision service
This script have to be removed since the provision API no longer exist.
Diffstat (limited to 'test')
-rwxr-xr-xtest/provision-service28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/provision-service b/test/provision-service
deleted file mode 100755
index a44b8622..00000000
--- a/test/provision-service
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/python
-
-import sys
-import dbus
-
-if (len(sys.argv) < 3):
- print "Usage: %s <ssid> [key=value] ..." % (sys.argv[0])
- sys.exit(1)
-
-bus = dbus.SystemBus()
-
-manager = dbus.Interface(bus.get_object("net.connman", "/"),
- "net.connman.Manager")
-
-config = unicode("", "utf-8")
-config += "[service_%s]\n" %(sys.argv[1])
-
-for arg in sys.argv:
- keyval = arg.split("=", 1)
- if (len(keyval) >= 2):
- config += arg
- config += '\n'
-
-config = config.rstrip()
-
-manager.ProvisionService(config);
-
-print "Sent configuration:\n%s" %(config)