busybox-initramfs: clear screen on boot and hide cursor if possible

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-02-24 08:12:19 +01:00
parent 1481c30368
commit a37e76f99d
2 changed files with 3 additions and 2 deletions

View File

@ -313,7 +313,7 @@ CONFIG_USLEEP=y
#
CONFIG_CHVT=y
# CONFIG_FGCONSOLE is not set
# CONFIG_CLEAR is not set
CONFIG_CLEAR=y
# CONFIG_DEALLOCVT is not set
# CONFIG_DUMPKMAP is not set
# CONFIG_KBD_MODE is not set

View File

@ -40,7 +40,8 @@ NFS_OVERLAY="192.168.1.1:/var/lib/overlay"
# hide kernel log messages on console
echo '1 4 1 7' > /proc/sys/kernel/printk
# hide cursor
# clear screen and hide cursor
clear
echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink
# parse command line arguments