feat(iso): set CPU governor to performance on boot
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
12
iso/overlay/etc/systemd/system/bee-cpuperf.service
Normal file
12
iso/overlay/etc/systemd/system/bee-cpuperf.service
Normal 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
|
||||
@@ -0,0 +1 @@
|
||||
/etc/systemd/system/bee-cpuperf.service
|
||||
Reference in New Issue
Block a user