diff options
| author | maximilian attems <maks@debian.org> | 2005-12-05 17:19:00 +0100 |
|---|---|---|
| committer | maximilian attems <maks@debian.org> | 2005-12-05 17:19:00 +0100 |
| commit | efc90bbb5f64353714175bb4b2225422f3de86b2 (patch) | |
| tree | bf92d7ea84f30edd5c968853deae92532d987d07 /hooks/thermal | |
| parent | bfd7efb29d7e706d6378ad2b91d2be9d21f8b8ee (diff) | |
| download | initramfs-tools-efc90bbb5f64353714175bb4b2225422f3de86b2.tar.gz initramfs-tools-efc90bbb5f64353714175bb4b2225422f3de86b2.zip | |
resync with latest ubuntu, split udev done by hand.
Diffstat (limited to 'hooks/thermal')
| -rwxr-xr-x | hooks/thermal | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/hooks/thermal b/hooks/thermal new file mode 100755 index 0000000..4426de3 --- /dev/null +++ b/hooks/thermal @@ -0,0 +1,28 @@ +#!/bin/sh + +PREREQ="" + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +# Hooks for loading thermal bits into the initramfs + +. /usr/share/initramfs-tools/hook-functions + +# ACPI Systems +for x in fan thermal; do + manual_add_modules ${x} +done + +# PPC64 Systems +manual_add_modules therm_pm72 |
