summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/sllin/files/sllin-demo-virtual.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/sllin/files/sllin-demo-virtual.service')
-rw-r--r--recipes-kernel/sllin/files/sllin-demo-virtual.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-kernel/sllin/files/sllin-demo-virtual.service b/recipes-kernel/sllin/files/sllin-demo-virtual.service
new file mode 100644
index 000000000..788242197
--- /dev/null
+++ b/recipes-kernel/sllin/files/sllin-demo-virtual.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=LIN demo configuration (virtual)
+ConditionPathExists=!/dev/ttyUSB0
+After=afm-system-daemon.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/start_lin_demo.sh
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target