summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rwxr-xr-xinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/init b/init
index 06abfc4..8ea174a 100755
--- a/init
+++ b/init
@@ -108,6 +108,9 @@ setup_encrypted() {
read
fi
+ # Probe the new crypto device for an additional partition table
+ partprobe "/dev/mapper/${name}" 2>/dev/null 1>/dev/null
+
# Success. Return the path of the decrypted root device
echo "/dev/mapper/${name}"
}

Generated by cgit