neard: move recipe and patches to the proper dir
[scm/bb/meta-tizen.git] / meta-tizen-adaptation / meta-oe / recipes-connectivity / connman / connman / 0005-Set-ConnMan-default-settings-in-config-files.patch
1 From 85053773dfe482c81ca1ac87dc6baf2ff6b29df0 Mon Sep 17 00:00:00 2001
2 From: Zhang zhengguang <zhengguang.zhang@intel.com>
3 Date: Fri, 4 Jul 2014 14:49:18 +0800
4 Subject: [PATCH 05/32] Set ConnMan default settings in config files
5
6 ---
7  src/connman.service.in | 3 ++-
8  src/main.conf          | 4 ++++
9  2 files changed, 6 insertions(+), 1 deletion(-)
10
11 diff --git a/src/connman.service.in b/src/connman.service.in
12 index 7b6195e..67d051d 100644
13 --- a/src/connman.service.in
14 +++ b/src/connman.service.in
15 @@ -5,10 +5,11 @@ After=dbus.socket
16  Before=remote-fs.target
17  
18  [Service]
19 +EnvironmentFile=-/etc/sysconfig/connman
20  Type=dbus
21  BusName=net.connman
22  Restart=on-failure
23 -ExecStart=@prefix@/sbin/connmand -n
24 +ExecStart=@prefix@/sbin/connmand -n $OPTIONS
25  StandardOutput=null
26  
27  [Install]
28 diff --git a/src/main.conf b/src/main.conf
29 index 93c7a50..c979553 100644
30 --- a/src/main.conf
31 +++ b/src/main.conf
32 @@ -19,6 +19,7 @@
33  # the scan list is empty. In that case, a simple backoff
34  # mechanism starting from 10s up to 5 minutes will run.
35  # BackgroundScanning = true
36 +BackgroundScanning = false
37  
38  # List of Fallback timeservers separated by ",".
39  # These timeservers are used for NTP sync when there are
40 @@ -26,6 +27,7 @@
41  # These can contain mixed combination of fully qualified
42  # domain names, IPv4 and IPv6 addresses.
43  # FallbackTimeservers =
44 +FallbackTimeservers = pool.ntp.org
45  
46  # List of fallback nameservers separated by "," used if no
47  # nameservers are otherwise provided by the service. The
48 @@ -52,6 +54,7 @@
49  # the default route when compared to either a non-preferred
50  # type or a preferred type further down in the list.
51  # PreferredTechnologies =
52 +PreferredTechnologies = ethernet,wifi
53  
54  # List of blacklisted network interfaces separated by ",".
55  # Found interfaces will be compared to the list and will
56 @@ -59,6 +62,7 @@
57  # match any of the list entries. Default value is
58  # vmnet,vboxnet,virbr,ifb.
59  # NetworkInterfaceBlacklist = vmnet,vboxnet,virbr,ifb
60 +NetworkInterfaceBlacklist = vmnet,vboxnet,virbr
61  
62  # Allow connman to change the system hostname. This can
63  # happen for example if we receive DHCP hostname option.
64 -- 
65 1.8.1.4
66