summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-01-31 16:12:48 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-01-31 19:57:14 +0100
commit46fd36a803b581d1ed65a5d2dd32e82c5094b470 (patch)
treea92ff9abfb764c901efdf950cb7ecfaf89ecce43
parent85b0f592b2328ac1c18ab89730f280cc851f992b (diff)
downloadptxdist-46fd36a803b581d1ed65a5d2dd32e82c5094b470.tar.gz
ptxdist-46fd36a803b581d1ed65a5d2dd32e82c5094b470.tar.xz
connman: enable wired interface per defautl
Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--generic/var/lib/connman/settings6
-rw-r--r--rules/connman.make4
2 files changed, 10 insertions, 0 deletions
diff --git a/generic/var/lib/connman/settings b/generic/var/lib/connman/settings
new file mode 100644
index 000000000..d2ab56334
--- /dev/null
+++ b/generic/var/lib/connman/settings
@@ -0,0 +1,6 @@
+[global]
+OfflineMode=false
+
+[Wired]
+Enable=true
+
diff --git a/rules/connman.make b/rules/connman.make
index 68e7987e1..2a46b5a4b 100644
--- a/rules/connman.make
+++ b/rules/connman.make
@@ -167,6 +167,10 @@ ifdef PTXCONF_CONNMAN_SYSTEMD_UNIT
/lib/systemd/connman-ignore)
endif
+# # ship settings which enable wired interfaces per default
+ @$(call install_alternative, connman, 0, 0, 0600, \
+ /var/lib/connman/settings)
+
# # dbus config
@$(call install_alternative, connman, 0, 0, 0644, /etc/dbus-1/system.d/connman.conf)