mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-06 00:39:52 +00:00
chore: Match to end of line in pstate fix
This commit is contained in:
parent
45a8e4ab6b
commit
26cf4cca32
@ -248,7 +248,7 @@ fi
|
|||||||
|
|
||||||
# NO-PSTATE FIX
|
# NO-PSTATE FIX
|
||||||
if grep -q "acpi-cpufreq" <<< "$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver)"; then
|
if grep -q "acpi-cpufreq" <<< "$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver)"; then
|
||||||
sed -i 's/balanced=balanced/balanced=balanced-no-pstate/g' /etc/tuned/ppd.conf
|
sed -i 's/balanced=balanced$/balanced=balanced-no-pstate/g' /etc/tuned/ppd.conf
|
||||||
tuned-adm profile balanced-no-pstate
|
tuned-adm profile balanced-no-pstate
|
||||||
else
|
else
|
||||||
sed -i 's/balanced=balanced-no-pstate/balanced=balanced/g' /etc/tuned/ppd.conf
|
sed -i 's/balanced=balanced-no-pstate/balanced=balanced/g' /etc/tuned/ppd.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user