Add Debian/CPU Governor/governor.service

This commit is contained in:
b.waal 2024-08-10 00:09:25 +02:00
parent 81046e954d
commit 8c382860db

View File

@ -0,0 +1,11 @@
[Unit]
Description=Set scaling governor to CHOSEN_POWERPLAN
After=multi-user.target
Before=zkbootrtc.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c "echo CHOSEN_POWERPLAN | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor"
[Install]
WantedBy=multi-user.target