summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorJeff Bailey <jbailey@ubuntu.com>2005-08-16 13:34:37 -0400
committerJeff Bailey <jbailey@ubuntu.com>2005-08-16 13:34:37 -0400
commitbaab5f5fc3d6cfe4821a82e5b17f0f57bef060b0 (patch)
tree274ece2445c9c99662927bcc762071cae1700e97 /hooks
parent618760b004d07efb11f05e57d46ed4b5adb2823c (diff)
downloadinitramfs-tools-baab5f5fc3d6cfe4821a82e5b17f0f57bef060b0.tar.gz
initramfs-tools-baab5f5fc3d6cfe4821a82e5b17f0f57bef060b0.zip
Cleanup commit, sorry for the mess
Diffstat (limited to 'hooks')
-rw-r--r--hooks/acpid24
1 files changed, 24 insertions, 0 deletions
diff --git a/hooks/acpid b/hooks/acpid
new file mode 100644
index 0000000..0f3c84c
--- /dev/null
+++ b/hooks/acpid
@@ -0,0 +1,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