summaryrefslogtreecommitdiff
path: root/scripts/init-premount/thermal
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-12-05 17:19:00 +0100
committermaximilian attems <maks@debian.org>2005-12-05 17:19:00 +0100
commitefc90bbb5f64353714175bb4b2225422f3de86b2 (patch)
treebf92d7ea84f30edd5c968853deae92532d987d07 /scripts/init-premount/thermal
parentbfd7efb29d7e706d6378ad2b91d2be9d21f8b8ee (diff)
downloadinitramfs-tools-efc90bbb5f64353714175bb4b2225422f3de86b2.tar.gz
initramfs-tools-efc90bbb5f64353714175bb4b2225422f3de86b2.zip
resync with latest ubuntu, split udev done by hand.
Diffstat (limited to 'scripts/init-premount/thermal')
-rwxr-xr-xscripts/init-premount/thermal23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/init-premount/thermal b/scripts/init-premount/thermal
new file mode 100755
index 0000000..e0d79c3
--- /dev/null
+++ b/scripts/init-premount/thermal
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+PREREQ=""
+
+prereqs()
+{
+ echo "$PREREQ"
+}
+
+case $1 in
+# get pre-requisites
+prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+# For ACPI systems
+modprobe -q fan
+modprobe -q thermal
+
+# For ppc64 systems
+modprobe -q therm_pm72