diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2018-11-07 08:08:43 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-11-13 18:15:24 +0000 |
commit | 331b3ee60c36697ce85fb6806c82fdeec8183150 (patch) | |
tree | b199a799f526a2510e5676c41bfa73168e104216 /recipes-kernel/sllin/files/sllin-demo.service | |
parent | 0680bff170fe4b17a5595f0895dc4a88f031af79 (diff) |
Finalize and automate sllin setup for LIN on demo unit
Provide the systemd unit, the init script, the module options and the autoload command.
Change-Id: I8dfe59338f377ca8ac1b94fe568dff9e2b36bf97
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-kernel/sllin/files/sllin-demo.service')
-rw-r--r-- | recipes-kernel/sllin/files/sllin-demo.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-kernel/sllin/files/sllin-demo.service b/recipes-kernel/sllin/files/sllin-demo.service new file mode 100644 index 000000000..c1bc94982 --- /dev/null +++ b/recipes-kernel/sllin/files/sllin-demo.service @@ -0,0 +1,13 @@ +[Unit] +Description = LIN DEMO startup +After=afm-system-daemon.service + +[Service] +Type=forking +PIDFile=/var/run/lin_ldattach +ExecStart=/usr/bin/start_lin_demo.sh +RemainAfterExit=yes + + +[Install] +WantedBy=default.target |