From 79f4495244ceddb197879ae24c33f469285bbff2 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 27 Jan 2016 11:23:59 +0000 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../connman/connman-conf/qemuall/wired-connection.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta/recipes-connectivity/connman/connman-conf/qemuall/wired-connection.service (limited to 'meta/recipes-connectivity/connman/connman-conf/qemuall') 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 @@ +[Unit] +Description=Setup a wired interface +Before=connman.service + +[Service] +Type=oneshot +ExecStart=@SCRIPTDIR@/wired-setup + +[Install] +WantedBy=network.target -- cgit v1.2.3-54-g00ecf