From 7f8ad5803628fedc2bca3d47b9e04038b4491316 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 14 Apr 2017 17:07:09 +0200 Subject: Make name of virtual CAN device flexible. Change-Id: I9cef3e6c4fa81bb75514e7b9c618494bad00ab6a Signed-off-by: Romain Forlot --- CAN-binder/can_samples/init_vcan.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CAN-binder/can_samples/init_vcan.sh b/CAN-binder/can_samples/init_vcan.sh index 531dd1e1..65eb1b11 100755 --- a/CAN-binder/can_samples/init_vcan.sh +++ b/CAN-binder/can_samples/init_vcan.sh @@ -2,5 +2,5 @@ # example for setting up vcan0 and modules sudo modprobe can sudo modprobe vcan -sudo ip link add dev vcan0 type vcan -sudo ip link set up vcan0 +sudo ip link add dev can0 type vcan +sudo ip link set up can0 -- cgit 1.2.3-korg