]> git.pld-linux.org Git - packages/bootsplash.git/commitdiff
- more features like bootanimations
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 22 Dec 2003 01:06:00 +0000 (01:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bootsplash.script -> 1.2

bootsplash.script

index 5fed232459e65ae6cc05ade0780c242861b8de3d..f50ad67d4368f060032ad8688b4d8ec0e2550b3b 100644 (file)
 
 _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)
 #
This page took 0.065577 seconds and 4 git commands to generate.