aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder/can_samples/init_vcan.sh
blob: d016289cf2a76eabd4a3fcce889b78abc7bc43f7 (plain)
1
2
3
4
5
6
#!/bin/sh
# example for setting up vcan0 and modules
sudo modprobe can
sudo modprobe vcan
sudo ip link add dev $1 type vcan
sudo ip link set up $1