From 77211cd49239c55a7c24595f19a54390367b2173 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 27 Oct 2009 03:47:34 +0100 Subject: [PATCH] busybox: - show splashscreen --- packages/sysutils/busybox/scripts/init | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 612f270b30..9827aee809 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -17,6 +17,10 @@ # setting up $PATH export PATH=/bin:/sbin:/usr/bin:/usr/sbin +# showing splash + test -f /usr/share/splash/splash.ppm && \ + fbsplash -s /usr/share/splash/splash.ppm + # parse command line arguments BOOT=`cat /proc/cmdline | sed 's/.*boot=// ; s/ .*//'` DISK=`cat /proc/cmdline | sed 's/.*disk=// ; s/ .*//'` @@ -34,11 +38,11 @@ done # starting debugging shell - if test "$DEBUG" = yes; then +# if test "$DEBUG" = yes; then echo "### starting debugging shell on console 3 ###" echo "### ...... switch with ctrl-alt-f3 ...... ###" exec /bin/sh /dev/tty3 2>&1 & - fi +# fi # make variable directory structure install -m 1777 -d /var/run