diff --git a/cpuscaling-ignore_ppc.sh b/cpuscaling-ignore_ppc.sh index fd8a8e7..0bdf822 100644 --- a/cpuscaling-ignore_ppc.sh +++ b/cpuscaling-ignore_ppc.sh @@ -5,9 +5,9 @@ sudo apt-get install -y cpufrequtils linux-cpupower # Set ignore bios throttling on the kernel commandline #sed -i "s|^GRUB_CMDLINE_LINUX_DEFAULT=\"\(.*\)\"|GRUB_CMDLINE_LINUX_DEFAULT=\"\1 processor.ignore_ppc=1\"|" /etc/default/grub -#NEWARG="processor.ignore_ppc=1" -#sed -i -E "s|^(GRUB_CMDLINE_LINUX_DEFAULT=\"[^\"]*)\"|\1 ${NEWARG}\"|" /etc/default/grub -#update_grub +# NEWARG="processor.ignore_ppc=1" +# sudo sed -i -E "s|^(GRUB_CMDLINE_LINUX_DEFAULT=\"[^\"]*)\"|\1 ${NEWARG}\"|" /etc/default/grub +# sudo update_grub # get max available cpu frequency frequencies=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies)