From ba80fc86dad2d4638ab1482b10c73eb509fa04ea Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Fri, 10 Sep 2004 06:38:18 +0000 Subject: Do not redraw the screen if we are not in splash mode when rc starts. --- scripts/splash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/splash.sh b/scripts/splash.sh index e7027ab..2fb94cc 100644 --- a/scripts/splash.sh +++ b/scripts/splash.sh @@ -186,7 +186,7 @@ if [ "$progress" == 1 -o "$1" == "start" ]; then echo "silent" >/proc/splash chvt 1 else - if [ "$font" != "default" -a "$progress" != "1" -a -d /usr/share/bootsplash ]; then + if [ "$font" != "default" -a "$progress" != "1" -a -d /usr/share/bootsplash -a "$_silent" == "yes" ]; then if [[ -f /etc/bootsplash/themes/$theme/config/bootsplash-$res.cfg ]]; then /sbin/splash -s -u 0 /etc/bootsplash/themes/$theme/config/bootsplash-$res.cfg echo "show $(( 65534 * ( $progress + 1 ) / $num ))" > /proc/splash -- cgit v1.2.1