summaryrefslogtreecommitdiff
path: root/initramfs/hook
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/hook')
-rwxr-xr-xinitramfs/hook20
1 files changed, 20 insertions, 0 deletions
diff --git a/initramfs/hook b/initramfs/hook
new file mode 100755
index 0000000..3c429d0
--- /dev/null
+++ b/initramfs/hook
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+PREREQ="udev"
+
+prereqs()
+{
+ echo "$PREREQ"
+}
+
+case $1 in
+prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+. /usr/share/initramfs-tools/hook-functions
+
+copy_exec /bin/mknod
+manual_add_modules bcache