File: open_vcan.sh

package info (click to toggle)
python-can 3.3.2.final~github-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,172 kB
  • sloc: python: 10,208; makefile: 30; sh: 12
file content (7 lines) | stat: -rwxr-xr-x 151 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/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