diff options
author | Tom Rini <trini@embeddedalley.com> | 2009-06-01 13:06:18 -0400 |
---|---|---|
committer | Tom Rini <trini@embeddedalley.com> | 2009-06-01 13:06:18 -0400 |
commit | d63d3549606cab7ef3f2ee68967f960828acc386 (patch) | |
tree | 2c414d3ce046f7c4071e60c9b3c7ca77f9952ad6 /recipes/initscripts/initscripts-1.0/banner | |
parent | 97430a9256a25346a75f1796a4c89f0e1257f239 (diff) |
initscripts: Get rid of the vtmaster stuff, bump PR.
I ran into this on my boards that start out with the really minimal
(console and null only) set of dev nodes prior to udev running. The
banner script looks around for what might be the vtmaster (aka what's
got console) to say that we're booting. But that's where things go by
default anyhow.
Signed-off-by: Tom Rini <trini@embeddedalley.com>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Diffstat (limited to 'recipes/initscripts/initscripts-1.0/banner')
-rw-r--r-- | recipes/initscripts/initscripts-1.0/banner | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/recipes/initscripts/initscripts-1.0/banner b/recipes/initscripts/initscripts-1.0/banner index 0349ce1954..4e69c29e50 100644 --- a/recipes/initscripts/initscripts-1.0/banner +++ b/recipes/initscripts/initscripts-1.0/banner @@ -1,17 +1,3 @@ #!/bin/sh -if [ ! -e /dev/tty ]; then - /bin/mknod -m 0666 /dev/tty c 5 0 -fi - -if ( > /dev/tty0 ) 2>/dev/null; then - vtmaster=/dev/tty0 -elif ( > /dev/vc/0 ) 2>/dev/null; then - vtmaster=/dev/vc/0 -elif ( > /dev/console ) 2>/dev/null; then - vtmaster=/dev/console -else - vtmaster=/dev/null -fi -echo > $vtmaster -echo "Please wait: booting..." > $vtmaster +echo "Please wait: booting..." |