feat(iso): set CPU governor to performance on boot

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-28 21:45:37 +03:00
parent 096b4a09ca
commit 5d72d48714
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Set CPU governor to performance
DefaultDependencies=no
After=sysinit.target
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'for f in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f "$f" ] && echo performance > "$f"; done'
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1 @@
/etc/systemd/system/bee-cpuperf.service