[Lunar-commits] <moonbase> cpufrequtils: added profile rc with aliases and this is not PSAFE

Duncan Gibson engelsman at lunar-linux.org
Sun Feb 20 16:46:35 CET 2011


commit 481a7b6e5c73eff4e606b8eec9dd462427ab2b46
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Sun Feb 20 16:46:35 2011 +0100

    cpufrequtils: added profile rc with aliases and this is not PSAFE
---
 utils/cpufrequtils/DETAILS                         |    1 +
 .../cpufrequtils/profile.d/cpufreq-set-aliases.rc  |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/utils/cpufrequtils/DETAILS b/utils/cpufrequtils/DETAILS
index 06cc1ac..592e4dc 100644
--- a/utils/cpufrequtils/DETAILS
+++ b/utils/cpufrequtils/DETAILS
@@ -9,6 +9,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
          ENTERED=20060221
          UPDATED=20100720
            SHORT="easier access to the kernel cpufreq subsystem and cpufreq userspace tools"
+           PSAFE=no
 
 cat << EOF
 To make access to the Linux kernel cpufreq subsystem easier for users and
diff --git a/utils/cpufrequtils/profile.d/cpufreq-set-aliases.rc b/utils/cpufrequtils/profile.d/cpufreq-set-aliases.rc
new file mode 100644
index 0000000..940f80b
--- /dev/null
+++ b/utils/cpufrequtils/profile.d/cpufreq-set-aliases.rc
@@ -0,0 +1,5 @@
+# set governor for all CPUs / cores to ...
+alias  ondemand='cpufreq-set -r -g ondemand'
+alias  powersave='cpufreq-set -r -g powersave'
+alias  performance='cpufreq-set -r -g performance'
+alias  conservative='cpufreq-set -r -g conservative'


More information about the Lunar-commits mailing list