cpufreqscaling: call it later

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-10-20 01:11:26 +02:00
parent da37d00e4e
commit 4b010771e0
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ for i in $(seq 0 ${cpucorecount}); do
echo "${1}" >/sys/devices/system/cpu/cpu${i}/cpufreq/scaling_governor
fi
done
sleep 5
sleep 10
# Check if the governor is set correctly
for i in $(seq 0 ${cpucorecount}); do
governor=$(cat /sys/devices/system/cpu/cpu${i}/cpufreq/scaling_governor)

View File

@ -21,7 +21,8 @@ if [ "${1}" = "late" ]; then
cat <<EOF >${DEST}
[Unit]
Description=Enable CPU Freq scaling
After=udevrules.service
Wants=smpkg-custom-install.service
After=smpkg-custom-install.service
[Service]
User=root