diff options
author | maximilian attems <maks@debian.org> | 2009-02-13 17:18:59 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2009-02-13 17:20:58 +0100 |
commit | d144b88e29e390c43d7ce15f8cb0548c0ae576e1 (patch) | |
tree | 243eb0927ea985dd8b3b1e359a9839b1cc39c4c5 | |
parent | 93654c9230d3817fa57069012a0b06ccb1df09e4 (diff) | |
download | initramfs-tools-d144b88e29e390c43d7ce15f8cb0548c0ae576e1.tar.gz initramfs-tools-d144b88e29e390c43d7ce15f8cb0548c0ae576e1.zip |
thermal boot script: Don't load thermal+fan on acpi=off
(closes: #514997)
Reported-by: Michael Prokop <mika@grml.org>
-rwxr-xr-x | scripts/init-premount/thermal | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/init-premount/thermal b/scripts/init-premount/thermal index aa146ec..0215edb 100755 --- a/scripts/init-premount/thermal +++ b/scripts/init-premount/thermal @@ -31,6 +31,13 @@ powerpc|ppc64) modprobe windfarm_smu_sensors ;; i386|amd64|ia64) + for x in $(cat /proc/cmdline); do + case ${x} in + acpi=off) + exit 0 + ;; + esac + done modprobe fan modprobe thermal ;; |