summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-11-26 10:57:42 +0100
committerMarcel Holtmann <marcel@holtmann.org>2010-11-26 10:57:42 +0100
commit4c10a569c112ffb3a646bc0e5353d190fef58e22 (patch)
treefd74c1177e94fd9a9692332c9ace4f4e39b6493b /plugins
parentabe0a8232bb8c92883bd4328becdbf60b7d54e55 (diff)
downloadconnman-4c10a569c112ffb3a646bc0e5353d190fef58e22.tar.gz
connman-4c10a569c112ffb3a646bc0e5353d190fef58e22.tar.bz2
connman-4c10a569c112ffb3a646bc0e5353d190fef58e22.zip
Change service name from org.moblin.connman to net.connman
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dhclient.c4
-rw-r--r--plugins/polkit.c4
-rw-r--r--plugins/polkit.policy4
3 files changed, 6 insertions, 6 deletions
diff --git a/plugins/dhclient.c b/plugins/dhclient.c
index e63e1dc2..7e74a930 100644
--- a/plugins/dhclient.c
+++ b/plugins/dhclient.c
@@ -148,13 +148,13 @@ static void dhclient_died(struct connman_task *task, void *user_data)
static void dhclient_setup(struct connman_task *task, const char *ifname)
{
- const char *path, *intf = "org.moblin.connman.Task";
+ const char *path, *intf = "net.connman.Task";
path = connman_task_get_path(task);
connman_task_add_argument(task, "-d", NULL);
connman_task_add_argument(task, "-q", NULL);
- connman_task_add_argument(task, "-e", "BUSNAME=org.moblin.connman");
+ connman_task_add_argument(task, "-e", "BUSNAME=net.connman");
connman_task_add_argument(task, "-e", "BUSINTF=%s", intf);
connman_task_add_argument(task, "-e", "BUSPATH=%s", path);
connman_task_add_argument(task, "-pf", "%s/dhclient.%s.pid",
diff --git a/plugins/polkit.c b/plugins/polkit.c
index 137dc9b1..0b232d9d 100644
--- a/plugins/polkit.c
+++ b/plugins/polkit.c
@@ -30,10 +30,10 @@
#include <connman/dbus.h>
static const GDBusSecurityTable polkit_security[] = {
- { CONNMAN_PRIVILEGE_MODIFY, "org.moblin.connman.modify",
+ { CONNMAN_PRIVILEGE_MODIFY, "net.connman.modify",
G_DBUS_SECURITY_FLAG_BUILTIN |
G_DBUS_SECURITY_FLAG_ALLOW_INTERACTION },
- { CONNMAN_PRIVILEGE_SECRET, "org.moblin.connman.secret",
+ { CONNMAN_PRIVILEGE_SECRET, "net.connman.secret",
G_DBUS_SECURITY_FLAG_BUILTIN |
G_DBUS_SECURITY_FLAG_ALLOW_INTERACTION },
{ }
diff --git a/plugins/polkit.policy b/plugins/polkit.policy
index 79d5c738..0c2629a3 100644
--- a/plugins/polkit.policy
+++ b/plugins/polkit.policy
@@ -8,7 +8,7 @@
<vendor>Connection Manager</vendor>
<icon_name>network-wireless</icon_name>
- <action id="org.moblin.connman.modify">
+ <action id="net.connman.modify">
<description>Settings configuration</description>
<message>Policy prevents modification of settings</message>
<defaults>
@@ -17,7 +17,7 @@
</defaults>
</action>
- <action id="org.moblin.connman.secret">
+ <action id="net.connman.secret">
<description>Secrets configuration</description>
<message>Policy prevents modification of secrets</message>
<defaults>