mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
cpufreqscaling: call it later
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
da37d00e4e
commit
4b010771e0
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user