]> git.friedersdorff.com Git - max/initramfs.git/commitdiff
Remove unnecessary launch of rescue_shell
authorMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 16 May 2018 05:59:20 +0000 (06:59 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 16 May 2018 05:59:20 +0000 (06:59 +0100)
init

diff --git a/init b/init
index b78fe1f6a715585e121e483626de25a96cf2fcce..75b84c05639a7a9ac9f2216b058e265b4f569409 100755 (executable)
--- a/init
+++ b/init
@@ -15,8 +15,6 @@ 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