]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - continuous/gw-setup/initramfs/etc/init.d/S50can
Add first automated test and supporting infrastructure
[can-benchmark.git] / continuous / gw-setup / initramfs / etc / init.d / S50can
diff --git a/continuous/gw-setup/initramfs/etc/init.d/S50can b/continuous/gw-setup/initramfs/etc/init.d/S50can
new file mode 100755 (executable)
index 0000000..d519685
--- /dev/null
@@ -0,0 +1,7 @@
+echo Setting up CAN interfaces
+
+ip link set can0 type can bitrate 1000000
+ip link set up dev can0
+ip link set can1 type can bitrate 1000000
+ip link set up dev can1
+ifconfig can1 txqueuelen 100