summaryrefslogtreecommitdiffstats
path: root/debian/initramfs/scripts/local-block
diff options
context:
space:
mode:
Diffstat (limited to 'debian/initramfs/scripts/local-block')
-rw-r--r--debian/initramfs/scripts/local-block/cryptroot20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/initramfs/scripts/local-block/cryptroot b/debian/initramfs/scripts/local-block/cryptroot
new file mode 100644
index 0000000..8a9b4c0
--- /dev/null
+++ b/debian/initramfs/scripts/local-block/cryptroot
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+PREREQ=""
+
+prereqs()
+{
+ echo $PREREQ
+}
+
+case $1 in
+# get pre-requisites
+prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+if [ -x /scripts/local-top/cryptroot ]; then
+ exec /scripts/local-top/cryptroot
+fi