Optimierung Systemhochlauf

This commit is contained in:
Bernhard
2025-12-12 18:50:18 +01:00
parent fbff41de71
commit bd6e3bbfe9
6 changed files with 69 additions and 42 deletions

View File

@@ -2,8 +2,9 @@
## Datei gehört in /etc/systemd/system
## aktivieren dann mit:
## - sudo systemctl daemon-reload
## - sudo systemctl enable CanRtDriver.service
## - sudo systemctl start CanRtDriver.service
## - sudo systemctl enable CanRtDriver.service NICHT AUSFÜHREN!!!
## - sudo systemctl start CanRtDriver.service NICHT AUSFÜHREN!!!
## => Service wird über ./scripts/can_link_up.sh gestartet
##
## Device Unit ermitteln mit: systemctl --type=device | grep can0
## Ggf. unter 'Requires', 'After' und 'BindsTo' anpassen!

View File

@@ -2,6 +2,10 @@
ip link set can0 up type can bitrate 250000
ip link set can1 up type can bitrate 250000
sleep 5
ifconfig can0 txqueuelen 65536
ifconfig can1 txqueuelen 65536
sleep 10
systemctl start CanRtDriver