]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
Don't drop to shell if LVM is used but root device isn't LV
authorArtur Frysiak <artur@frysiak.net>
Thu, 3 Feb 2011 10:41:37 +0000 (10:41 +0000)
committerArtur Frysiak <artur@frysiak.net>
Thu, 3 Feb 2011 10:41:37 +0000 (10:41 +0000)
svn-id: @12109

mod-lvm.sh

index f88a4f97e5d6d6cb0d868b6ad0d2cd7510373b28..7bc219c5e77ee9afb85fde6ef99d370867188b63 100644 (file)
@@ -252,11 +252,6 @@ initrd_gen_lvm() {
                        if [ "$major" -a "$minor" ]; then
                                # Pass it to kernel
                                echo $((256 * $major + $minor)) > /proc/sys/kernel/real-root-dev
-                       else
-                               echo 2>&1 "Error figuring out real root device for $ROOTDEV!"
-                               echo 2>&1 "System will not most likely boot up! So dropping you to a shell!"
-                               echo 2>&1 ""
-                               sh
                        fi
                EOF
        fi
This page took 0.055451 seconds and 4 git commands to generate.