From 7fbae5e84b5f2bc593e590b5b014780c5e6edb92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Mon, 22 Dec 2003 01:06:00 +0000 Subject: [PATCH] - more features like bootanimations Changed files: bootsplash.script -> 1.2 --- bootsplash.script | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bootsplash.script b/bootsplash.script index 5fed232..f50ad67 100644 --- a/bootsplash.script +++ b/bootsplash.script @@ -38,6 +38,11 @@ _procsplash=$(cat /proc/splash 2> /dev/null) +if [ -f /etc/bootsplash/themes/$THEME/config/animations.cfg ]; then + COMMAND="$(cat /etc/bootsplash/themes/$THEME/config/animations.cfg | grep "^$1"| cut -f2 -d\:)" + eval $COMMAND +fi + # assertions [ -e /proc/splash ] || exit 0 [ -z "$progress" -a -z "$num" ] && exit 0 @@ -61,6 +66,10 @@ cat /proc/splash | grep -q silent && _silent="yes" [ "$runlevel" == "6" -o "$runlevel" == "0" ] && _shutdown="yes" [ "$_shutdown" == "yes" ] && num=$(( $kscripts + 2 )) +if [ -f "/etc/bootsplash/themes/$THEME/config/bootsplash-`/bin/fbresolution`.cfg" ]; then + . /etc/bootsplash/themes/$THEME/config/bootsplash-`/bin/fbresolution`.cfg +fi + # Print text string. (Booting/Shutting down the system. Press # F2 for verbose mode) # -- 2.44.0