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
7 src/connman.service.in | 3 ++-
9 2 files changed, 6 insertions(+), 1 deletion(-)
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
19 +EnvironmentFile=-/etc/sysconfig/connman
23 -ExecStart=@prefix@/sbin/connmand -n
24 +ExecStart=@prefix@/sbin/connmand -n $OPTIONS
28 diff --git a/src/main.conf b/src/main.conf
29 index 93c7a50..c979553 100644
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
38 # List of Fallback timeservers separated by ",".
39 # These timeservers are used for NTP sync when there are
41 # These can contain mixed combination of fully qualified
42 # domain names, IPv4 and IPv6 addresses.
43 # FallbackTimeservers =
44 +FallbackTimeservers = pool.ntp.org
46 # List of fallback nameservers separated by "," used if no
47 # nameservers are otherwise provided by the service. The
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
54 # List of blacklisted network interfaces separated by ",".
55 # Found interfaces will be compared to the list and will
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
62 # Allow connman to change the system hostname. This can
63 # happen for example if we receive DHCP hostname option.