aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2004-09-10 06:38:18 +0000
committerFlorent Villard <warly@mandriva.com>2004-09-10 06:38:18 +0000
commitba80fc86dad2d4638ab1482b10c73eb509fa04ea (patch)
tree0e3ec5f30ea1c861cec0a430dbad9de81d58c78d
parentee52338bd9866c3940159c7bd753ac5efb0b826e (diff)
downloadbootsplash-ba80fc86dad2d4638ab1482b10c73eb509fa04ea.tar
bootsplash-ba80fc86dad2d4638ab1482b10c73eb509fa04ea.tar.gz
bootsplash-ba80fc86dad2d4638ab1482b10c73eb509fa04ea.tar.bz2
bootsplash-ba80fc86dad2d4638ab1482b10c73eb509fa04ea.tar.xz
bootsplash-ba80fc86dad2d4638ab1482b10c73eb509fa04ea.zip
Do not redraw the screen if we are not in splash mode when rc starts.
-rw-r--r--scripts/splash.sh2
1 files changed, 1 insertions, 1 deletions
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