SVN: geninitrd/trunk/mod-lvm.sh

wiget wiget at pld-linux.org
Thu Feb 3 11:41:37 CET 2011


Author: wiget
Date: Thu Feb  3 11:41:37 2011
New Revision: 12109

Modified:
   geninitrd/trunk/mod-lvm.sh
Log:
Don't drop to shell if LVM is used but root device isn't LV

Modified: geninitrd/trunk/mod-lvm.sh
==============================================================================
--- geninitrd/trunk/mod-lvm.sh	(original)
+++ geninitrd/trunk/mod-lvm.sh	Thu Feb  3 11:41:37 2011
@@ -252,11 +252,6 @@
 			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


More information about the pld-cvs-commit mailing list