summaryrefslogtreecommitdiffstats
path: root/CAN-binder/can_samples/init_vcan.sh
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-04-14 17:07:09 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-04-14 17:07:09 +0200
commit7f8ad5803628fedc2bca3d47b9e04038b4491316 (patch)
treec686ee3bf7a664806a7dc8e8e8f0365ddc1c629c /CAN-binder/can_samples/init_vcan.sh
parent402e3e3d590df79986b63d4ae9b07cc6b399d90b (diff)
Make name of virtual CAN device flexible.
Change-Id: I9cef3e6c4fa81bb75514e7b9c618494bad00ab6a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/can_samples/init_vcan.sh')
-rwxr-xr-xCAN-binder/can_samples/init_vcan.sh4
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 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