]> git.pld-linux.org Git - packages/bootsplash.git/blobdiff - bootsplash.init
- leave subsys completely
[packages/bootsplash.git] / bootsplash.init
index 3c4b54f65f84b28abf38c83770605256d2423bf8..e80bcc25d61a4da6da17fc0968ae5e30f45a9d8e 100644 (file)
@@ -21,21 +21,13 @@ RES=`fbresolution`
 # See how we were called.
 case "$1" in
   start|restart|reload|force-reload)
-       # Check if the service is already running?
-       if [ ! -f /var/lock/subsys/bootsplash ]; 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
-               RETVAL=$?
-               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/bootsplash
-       else
-               msg_already_running bootsplash
-       fi
+       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
        ;;
   stop)
-       rm -f /var/lock/subsys/bootsplash
+       exit 0
        ;;
   *)
        # show "Usage: %s {start|stop|restart}"
This page took 0.454859 seconds and 4 git commands to generate.