blob: 70b59dfdb577d49f8635746629edfe064aa6046b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
[Unit]
Description=Setup can0 CAN bus
After=network.target
[Service]
Type=oneshot
ExecStart=sh -c 'ip link set can0 up type can bitrate 500000; \
ifconfig can0 txqueuelen 65536'
[Install]
WantedBy=multi-user.target
|