summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0/banner
diff options
context:
space:
mode:
authoraraimondi <araimondi@gmx.net>2008-02-14 14:07:05 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-02-14 14:07:05 +0000
commitbf10ce1f71db27c63a75e290c3c391bf221a70f6 (patch)
treed97751c489c3dff91b87266cf6d4b514d783927e /packages/initscripts/initscripts-1.0/banner
parent6b100ea51727fdae3351fc7da279ea709bff7a48 (diff)
initscripts: show banner when console is on serial - close #3767
Diffstat (limited to 'packages/initscripts/initscripts-1.0/banner')
-rw-r--r--packages/initscripts/initscripts-1.0/banner2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/banner b/packages/initscripts/initscripts-1.0/banner
index 21a01d2846..0349ce1954 100644
--- a/packages/initscripts/initscripts-1.0/banner
+++ b/packages/initscripts/initscripts-1.0/banner
@@ -8,6 +8,8 @@ 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