summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/init-premount/thermal7
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
;;