plugins: Remove J1939 condition in CMakeLists file
[apps/agl-service-can-low-level.git] / can_samples / init_vcan.sh
index 531dd1e..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 vcan0 type vcan
-sudo ip link set up vcan0
+sudo ip link add dev $1 type vcan
+sudo ip link set up $1