diff options
| author | maximilian attems <maks@debian.org> | 2006-01-24 12:27:42 +0100 |
|---|---|---|
| committer | maximilian attems <maks@debian.org> | 2006-01-24 12:27:42 +0100 |
| commit | 5ac8871bdc5093eb2b570937dcc37167b904cb8e (patch) | |
| tree | 283b2d7b6e8497f960982a2fe0225251900d9773 /scripts/init-premount | |
| parent | f2688cc18d0e0420ad4ad069ed6bb32b2869badb (diff) | |
| download | initramfs-tools-5ac8871bdc5093eb2b570937dcc37167b904cb8e.tar.gz initramfs-tools-5ac8871bdc5093eb2b570937dcc37167b904cb8e.zip | |
sync 0.40ubuntu16
Diffstat (limited to 'scripts/init-premount')
| -rwxr-xr-x | scripts/init-premount/thermal | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/scripts/init-premount/thermal b/scripts/init-premount/thermal index e0d79c3..a41f6f3 100755 --- a/scripts/init-premount/thermal +++ b/scripts/init-premount/thermal @@ -15,9 +15,13 @@ prereqs) ;; esac -# For ACPI systems -modprobe -q fan -modprobe -q thermal - -# For ppc64 systems -modprobe -q therm_pm72 +case "$DPKG_ARCH" in +# load the right modules +powerpc|ppc64) + modprobe -q therm_pm72 + ;; +i386|amd64|ia64) + modprobe -q fan + modprobe -q thermal + ;; +esac |
