mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
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:
2
meta/packages/initscripts/initscripts-1.0/banner
vendored
Executable file → Normal file
2
meta/packages/initscripts/initscripts-1.0/banner
vendored
Executable file → Normal 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
|
||||
|
||||
Reference in New Issue
Block a user