]> git.pld-linux.org Git - packages/bootsplash.git/commitdiff
- check $BOOT_SPLASH before running
authorhavner <havner@pld-linux.org>
Wed, 12 Jul 2006 07:48:04 +0000 (07:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bootsplash.init -> 1.9

bootsplash.init

index e80bcc25d61a4da6da17fc0968ae5e30f45a9d8e..f849030e45cd921ca3deca288d5a24ce0f33955f 100644 (file)
@@ -21,10 +21,12 @@ RES=`fbresolution`
 # See how we were called.
 case "$1" in
   start|restart|reload|force-reload)
-       for console in $BOOT_SPLASH_CONSOLES; do
-           msg_starting "bootsplash terminal $console" 
-           daemon /bin/splash.bin -s -u $console -n "/etc/bootsplash/themes/$THEME/config/bootsplash-$RES.cfg"
-       done
+       if is_yes "$BOOT_SPLASH"; then
+           for console in $BOOT_SPLASH_CONSOLES; do
+               msg_starting "bootsplash terminal $console"     
+               daemon /bin/splash.bin -s -u $console -n "/etc/bootsplash/themes/$THEME/config/bootsplash-$RES.cfg"
+           done
+       fi
        ;;
   stop)
        exit 0
This page took 0.052745 seconds and 4 git commands to generate.