summaryrefslogtreecommitdiffstats
path: root/meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch')
-rw-r--r--meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch b/meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch
new file mode 100644
index 0000000..421beba
--- /dev/null
+++ b/meta-eca/recipes-connectivity/connman/files/0001-doc-Debugging-in-host-that-uses-systemd.patch
@@ -0,0 +1,44 @@
1From 5365d78227f3c44338079e8c9c69494d038bfa6c Mon Sep 17 00:00:00 2001
2From: Jukka Rissanen <jukka.rissanen@linux.intel.com>
3Date: Wed, 13 Mar 2013 11:15:21 +0200
4Subject: [PATCH 1/3] doc: Debugging in host that uses systemd
5
6Upstream-Status: Denied
7
8Not accepted as distros can override the default ConnMan service file.
9
10Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
11---
12 README | 16 ++++++++++++++++
13 1 file changed, 16 insertions(+)
14
15diff --git a/README b/README
16index bfb246a..e97b536 100644
17--- a/README
18+++ b/README
19@@ -246,6 +246,22 @@ Following environment variables can be used:
20 Example:
21 CONNMAN_WEB_DEBUG=1 src/connmand -n
22
23+If the host is using systemd when starting ConnMan, then one can activate
24+debugging easily by creating /etc/connman/connmand.env file and setting
25+debug options there. By default the env file does not exist.
26+
27+The following example would activate debugging in src/s*.c files and
28+also turn on Internet connectivity check debugging if placed into
29+connmand.env file:
30+ DEBUG=-d src/s*.c
31+ CONNMAN_WEB_DEBUG=1
32+
33+Note that one should not use quotation marks in env file as the systemd
34+will not use shell to expand them.
35+
36+For connman-vpnd daemon debugging, a similiar /etc/connman/connman-vpnd.env
37+file can be created.
38+
39
40 Kernel configuration
41 ====================
42--
431.7.11.4
44