Update documentation
[apps/agl-service-can-low-level.git] / CAN-binder / can_samples / init_vcan.sh
index 65eb1b1..d016289 100755 (executable)
@@ -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