initscripts: show banner when console is on serial - close #3767 (from OE)

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4202 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2008-04-08 15:09:49 +00:00
parent 294782ddc1
commit 325d3a92fc
2 changed files with 3 additions and 1 deletions

2
meta/packages/initscripts/initscripts-1.0/banner vendored Executable file → Normal file
View 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

View File

@@ -4,7 +4,7 @@ PRIORITY = "required"
DEPENDS = "makedevs"
RDEPENDS = "makedevs"
LICENSE = "GPL"
PR = "r102"
PR = "r103"
SRC_URI = "file://functions \
file://halt \