busybox-initramfs: show splash by default, can be disabled on kernel commandline with 'nosplash'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-03 18:29:42 +02:00
parent 16b8899cd8
commit 72b6f6c433

View File

@ -17,8 +17,8 @@ REBOOT=0
debugging)
DEBUG=yes
;;
splash)
SPLASH=yes
nosplash)
SPLASH=no
;;
bootchart)
BOOTCHART=yes
@ -49,7 +49,9 @@ REBOOT=0
}
show_splash() {
if [ "$SPLASH" = yes ]; then
if [ "$SPLASH" = no ]; then
break
else
if [ -f "/bin/ply-image" -a -f "/splash.png" ]; then
/bin/ply-image /splash.png
fi