]> git.friedersdorff.com Git - max/initramfs.git/commitdiff
Launch rescue shell after decryption
authorMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 14 May 2018 13:20:45 +0000 (14:20 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 14 May 2018 13:20:45 +0000 (14:20 +0100)
init

diff --git a/init b/init
index d9445bdfc7b5c5550e3c0905927e3fb92044b8d0..5d24645178ab998a6d6beab929f62d4950e0788e 100755 (executable)
--- a/init
+++ b/init
@@ -15,6 +15,8 @@ rescue_shell() {
 # Unlock luks device
 /sbin/cryptsetup -T 5 luksOpen /dev/sdb3 lukssdb3 || rescue_shell
 
+rescue_shell
+
 # Create LVM nodes /dev/main/root etc
 /sbin/lvm vgscan --mknodes || rescue_shell
 /sbin/lvm lvchange -a ly main/root || rescue_shell