summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman-conf
diff options
context:
space:
mode:
authorJoshua Lock <joshua.lock@collabora.co.uk>2016-01-27 11:23:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-30 11:37:00 +0000
commit79f4495244ceddb197879ae24c33f469285bbff2 (patch)
treebdce2353850e36f188ec7bad4eb2945581364b76 /meta/recipes-connectivity/connman/connman-conf
parent5c35883efcf8ad61b2630b04638d1a7382525fd1 (diff)
downloadpoky-79f4495244ceddb197879ae24c33f469285bbff2.tar.gz
connman-conf: convert to systemd oneshot
Install a oneshot unit file that is started before ConnMan to configure a wired network inteface with the wired-setup script, rather than requiring this script to be manually run some how. (From OE-Core rev: 530c4525f278bff72d8184035d00020c10b8f8b4) Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-conf')
-rw-r--r--meta/recipes-connectivity/connman/connman-conf/qemuall/wired-connection.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-connection.service b/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-connection.service
new file mode 100644
index 0000000000..48adfc08ac
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-connection.service
@@ -0,0 +1,10 @@
1[Unit]
2Description=Setup a wired interface
3Before=connman.service
4
5[Service]
6Type=oneshot
7ExecStart=@SCRIPTDIR@/wired-setup
8
9[Install]
10WantedBy=network.target