aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder')
-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 65eb1b11..d016289c 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 can0 type vcan
-sudo ip link set up can0
+sudo ip link add dev $1 type vcan
+sudo ip link set up $1