]> git.openpandora.org Git - openembedded.git/commitdiff
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 21a01d2846ce8faa1837328d56163313d0d96f60..0349ce195458bbb84a086269b944c13215389438 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 4433d1231831e1e45215cce802e3780f3c309404..55998c0a4a63d343ec806114a3d2ab9274467748 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "required"
 DEPENDS = "makedevs"
 RDEPENDS = "makedevs"
 LICENSE = "GPL"
-PR = "r104"
+PR = "r105"
 
 SRC_URI = "file://functions \
            file://halt \