From 537de14d5018f9525964e7d4c64d736e9186c696 Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Fri, 22 Dec 2017 19:14:16 +0100 Subject: Add support of ISO/TP legacy secondaries and serial CAN --- recipes-support/slcand-start/files/slcand@.service | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 recipes-support/slcand-start/files/slcand@.service (limited to 'recipes-support/slcand-start/files') diff --git a/recipes-support/slcand-start/files/slcand@.service b/recipes-support/slcand-start/files/slcand@.service new file mode 100644 index 0000000..c539568 --- /dev/null +++ b/recipes-support/slcand-start/files/slcand@.service @@ -0,0 +1,8 @@ +[Unit] +Description=Serial CAN daemon (can-utils) + +[Service] +Type=forking +ExecStart=/usr/bin/slcand -o -c -s4 %I can0 +ExecStartPost=/bin/sh -c '/bin/sleep 3; /sbin/ip link set can0 up' + -- cgit v1.2.3-54-g00ecf