]> code.ossystems Code Review - openembedded-core.git/commitdiff
initscripts: show banner when console is on serial - close #3767 (from OE)
authorMarcin Juszkiewicz <hrw@openedhand.com>
Tue, 8 Apr 2008 15:09:49 +0000 (15:09 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Tue, 8 Apr 2008 15:09:49 +0000 (15:09 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4202 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/initscripts/initscripts-1.0/banner [changed mode: 0755->0644]
meta/packages/initscripts/initscripts_1.0.bb

old mode 100755 (executable)
new mode 100644 (file)
index 21a01d2..0349ce1
@@ -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 bcc3aa2c35a291e424166d2891aa2aa835e38879..7fab41858b46f4e8d46606860c7650cfd5b1bb0b 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "required"
 DEPENDS = "makedevs"
 RDEPENDS = "makedevs"
 LICENSE = "GPL"
-PR = "r102"
+PR = "r103"
 
 SRC_URI = "file://functions \
            file://halt \