diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-04-14 17:07:09 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-04-14 17:07:09 +0200 |
commit | 7f8ad5803628fedc2bca3d47b9e04038b4491316 (patch) | |
tree | c686ee3bf7a664806a7dc8e8e8f0365ddc1c629c | |
parent | 402e3e3d590df79986b63d4ae9b07cc6b399d90b (diff) |
Make name of virtual CAN device flexible.
Change-Id: I9cef3e6c4fa81bb75514e7b9c618494bad00ab6a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rwxr-xr-x | CAN-binder/can_samples/init_vcan.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CAN-binder/can_samples/init_vcan.sh b/CAN-binder/can_samples/init_vcan.sh index 531dd1e..65eb1b1 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 |