summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0/checkroot.sh
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2006-11-15 15:48:32 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2006-11-15 15:48:32 +0000
commitfe6251ecd5bdd58a5b3ceda9674d57a3850f67fc (patch)
tree6f83d16ddb6c1348ca43425bfa9c117a48079f31 /packages/initscripts/initscripts-1.0/checkroot.sh
parentaf374dd518159ab5a4eaed6802f4cf50d7cf73dd (diff)
parent7110f87f99bed3015de53af5e42ac3fbb1fda780 (diff)
merge of '0479e731919623fe441e7b76d00e8c836c573157'
and 'bcd222bb88d3e217d64a5699a87a9c1253895f1f'
Diffstat (limited to 'packages/initscripts/initscripts-1.0/checkroot.sh')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/checkroot.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/checkroot.sh b/packages/initscripts/initscripts-1.0/checkroot.sh
index e84e000f53..df3035371b 100755
--- a/packages/initscripts/initscripts-1.0/checkroot.sh
+++ b/packages/initscripts/initscripts-1.0/checkroot.sh
@@ -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