initscripts: checkroot.sh: chvt 1 if fsck returns with an errorcode and waits for...
authorMatthias Hentges <oe@hentges.net>
Sun, 12 Nov 2006 15:04:53 +0000 (15:04 +0000)
committerMatthias Hentges <oe@hentges.net>
Sun, 12 Nov 2006 15:04:53 +0000 (15:04 +0000)
packages/initscripts/initscripts-1.0/checkroot.sh
packages/initscripts/initscripts_1.0.bb

index e84e000..df30353 100755 (executable)
@@ -150,6 +150,12 @@ else
     #
     if test "$?" -gt 1
     then
+    
+      # Since this script is run very early in the boot-process, it should be safe to assume that the
+      # output is printed to VT1. However, some distributions use a bootsplash to hide the "ugly" boot
+      # messages and having the bootsplash "hang" due to a waiting fsck prompt is less than ideal
+      chvt 1
+    
       # Surprise! Re-directing from a HERE document (as in
       # "cat << EOF") won't work, because the root is read-only.
       echo
index 3c93785..73c02e5 100644 (file)
@@ -5,7 +5,7 @@ DEPENDS = "makedevs"
 DEPENDS_openzaurus = "makedevs virtual/kernel"
 RDEPENDS = "makedevs"
 LICENSE = "GPL"
-PR = "r80"
+PR = "r81"
 
 SRC_URI = "file://halt \
            file://ramdisk \