projects
/
grml-autoconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1774d86
)
Don't load cpufreq governor if cpufreq is unsupported
author
Christian Hofstaedtler
<ch@grml.org>
Thu, 17 Nov 2011 09:22:22 +0000
(10:22 +0100)
committer
Christian Hofstaedtler
<ch@grml.org>
Thu, 17 Nov 2011 09:22:22 +0000
(10:22 +0100)
autoconfig.functions
patch
|
blob
|
history
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
7a003ae
..
ab86db6
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-964,6
+964,7
@@
if [ -x /etc/init.d/loadcpufreq ] ; then
if [ -n "$MODULE" -a "$MODULE" != none ]; then
einfo "Loading cpufreq kernel module $MODULE" ; eend 0
else
if [ -n "$MODULE" -a "$MODULE" != none ]; then
einfo "Loading cpufreq kernel module $MODULE" ; eend 0
else
+ SKIP_CPU_GOVERNOR=1
ewarn "Could not find an appropriate kernel module for cpu frequency scaling." ; eend 1
fi
fi
ewarn "Could not find an appropriate kernel module for cpu frequency scaling." ; eend 1
fi
fi