diff options
author | Joshua Lock <joshua.lock@collabora.co.uk> | 2016-01-27 11:23:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-29 18:14:53 +0000 |
commit | 530c4525f278bff72d8184035d00020c10b8f8b4 (patch) | |
tree | 0abfa66aa6b300231f04cb2eaa37c7c5ab96910a /meta/recipes-connectivity/connman/connman-conf | |
parent | 628ad5e06d1136809d110a71148721095cb084dc (diff) | |
download | openembedded-core-contrib-530c4525f278bff72d8184035d00020c10b8f8b4.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.
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-conf')
-rw-r--r-- | meta/recipes-connectivity/connman/connman-conf/qemuall/wired-connection.service | 10 |
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 @@ +[Unit] +Description=Setup a wired interface +Before=connman.service + +[Service] +Type=oneshot +ExecStart=@SCRIPTDIR@/wired-setup + +[Install] +WantedBy=network.target |