initscripts: show banner when console is on serial - close #3767
authoraraimondi <araimondi@gmx.net>
Thu, 14 Feb 2008 14:07:05 +0000 (14:07 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Thu, 14 Feb 2008 14:07:05 +0000 (14:07 +0000)
packages/initscripts/initscripts-1.0/banner
packages/initscripts/initscripts_1.0.bb

index 21a01d2..0349ce1 100644 (file)
@@ -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
index 4433d12..55998c0 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "required"
 DEPENDS = "makedevs"
 RDEPENDS = "makedevs"
 LICENSE = "GPL"
-PR = "r104"
+PR = "r105"
 
 SRC_URI = "file://functions \
            file://halt \