diff options
author | 2017-04-22 13:39:32 +0200 | |
---|---|---|
committer | 2017-04-22 13:42:48 +0200 | |
commit | f9189e9592fdf0b6f8c5e9ae35573044b18003c7 (patch) | |
tree | 9d9582d392ee4925ba21d389bff837c121444da7 /app-laptop/pbbuttonsd/files/pbbuttonsd-0.8.1-cpufreq.patch | |
parent | app-laptop/pbbuttonsd: Clean up patches. (diff) | |
download | gentoo-f9189e9592fdf0b6f8c5e9ae35573044b18003c7.tar.gz gentoo-f9189e9592fdf0b6f8c5e9ae35573044b18003c7.tar.bz2 gentoo-f9189e9592fdf0b6f8c5e9ae35573044b18003c7.zip |
app-laptop/pbbuttonsd: Fix patch names.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-laptop/pbbuttonsd/files/pbbuttonsd-0.8.1-cpufreq.patch')
-rw-r--r-- | app-laptop/pbbuttonsd/files/pbbuttonsd-0.8.1-cpufreq.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-laptop/pbbuttonsd/files/pbbuttonsd-0.8.1-cpufreq.patch b/app-laptop/pbbuttonsd/files/pbbuttonsd-0.8.1-cpufreq.patch new file mode 100644 index 000000000000..89ab72a8947f --- /dev/null +++ b/app-laptop/pbbuttonsd/files/pbbuttonsd-0.8.1-cpufreq.patch @@ -0,0 +1,20 @@ +--- a/scripts/scripts.d/cpufreq ++++ b/scripts/scripts.d/cpufreq +@@ -18,7 +18,7 @@ + case "$1" in + powersave|custom) + case "$KVER" in +- 2.6.*) ++ "2.6."*|"3."*) + if [ -d /sys ]; then + echo -n "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor + cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq +@@ -41,7 +41,7 @@ + ;; + performance) + case "$KVER" in +- 2.6.*) ++ "2.6."*|"3."*) + if [ -d /sys ]; then + echo -n "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor + cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq |