source: pkg/main/initramfs-tools/trunk/hooks/thermal @ 1888

Revision 1888, 844 bytes checked in by alanbach-guest, 7 years ago (diff)

Updated initramfs-tools, 0.90

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3PREREQ=""
4
5prereqs()
6{
7        echo "$PREREQ"
8}
9
10case $1 in
11# get pre-requisites
12prereqs)
13        prereqs
14        exit 0
15        ;;
16esac
17
18# Hooks for loading thermal bits into the initramfs
19
20. /usr/share/initramfs-tools/hook-functions
21
22case "$DPKG_ARCH" in
23# copy the right modules
24powerpc|ppc64)
25        manual_add_modules therm_pm72
26        manual_add_modules windfarm_core
27        manual_add_modules windfarm_cpufreq_clamp
28        manual_add_modules windfarm_lm75_sensor
29        manual_add_modules windfarm_max6690_sensor
30        manual_add_modules windfarm_pid
31        manual_add_modules windfarm_pm112
32        manual_add_modules windfarm_pm81
33        manual_add_modules windfarm_pm91
34        manual_add_modules windfarm_smu_controls
35        manual_add_modules windfarm_smu_sat
36        manual_add_modules windfarm_smu_sensors
37        manual_add_modules i2c-powermac
38        ;;
39i386|amd64|ia64)
40        manual_add_modules fan
41        manual_add_modules thermal
42        ;;
43esac
Note: See TracBrowser for help on using the repository browser.