summaryrefslogtreecommitdiff
path: root/hooks/acpid
blob: 0f3c84c663f48f50eefcbdd0ec9072d474ce5035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

PREREQ=""

prereqs()
{
	echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
	prereqs
	exit 0
	;;
esac

# Hooks for loading acpi bits into the initramfs

. /usr/share/initramfs-tools/hook-functions

for x in fan thermal; do
	manual_add_modules ${x}
done