File: open_vcan.sh

package info (click to toggle)
python-can 4.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,372 kB
  • sloc: python: 25,840; makefile: 38; sh: 20
file content (11 lines) | stat: -rwxr-xr-x 275 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# Used by .travis.yml (which is executed with sudo privileges)

modprobe vcan
ip link add dev vcan0 type vcan
ip link set up vcan0 mtu 72
ip link add dev vxcan0 type vcan
ip link set up vxcan0 mtu 72
ip link add dev slcan0 type vcan
ip link set up slcan0 mtu 72