From 72b6f6c4333d3c79836fc14cbb136217ba669d61 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 3 Jul 2010 18:29:42 +0200 Subject: [PATCH] busybox-initramfs: show splash by default, can be disabled on kernel commandline with 'nosplash' Signed-off-by: Stephan Raue --- packages/sysutils/busybox-initramfs/scripts/init | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/sysutils/busybox-initramfs/scripts/init b/packages/sysutils/busybox-initramfs/scripts/init index a7aed46a0e..4d4b23138e 100755 --- a/packages/sysutils/busybox-initramfs/scripts/init +++ b/packages/sysutils/busybox-initramfs/scripts/init @@ -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