]> git.pld-linux.org Git - packages/bootsplash.git/commitdiff
- leave subsys, no deamon there, just console setting utility
authorhavner <havner@pld-linux.org>
Fri, 7 Jul 2006 16:34:16 +0000 (16:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  doesn't need to be stopped to restart it

Changed files:
    bootsplash.init -> 1.7

bootsplash.init

index b80887def3b536445c2a87039d6332981b192954..3c4b54f65f84b28abf38c83770605256d2423bf8 100644 (file)
@@ -20,7 +20,7 @@ RES=`fbresolution`
 
 # See how we were called.
 case "$1" in
 
 # See how we were called.
 case "$1" in
-  start)
+  start|restart|reload|force-reload)
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/bootsplash ]; then
                
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/bootsplash ]; then
                
@@ -35,23 +35,11 @@ case "$1" in
        fi
        ;;
   stop)
        fi
        ;;
   stop)
-       if [ -f /var/lock/subsys/bootsplash ]; then
-               # Stop daemons.
-               msg_stopping bootsplash
-               #killproc bootsplash
-               rm -f /var/lock/subsys/bootsplash
-       else
-               msg_not_running bootsplash
-       fi
-       ;;
-  restart)
-       $0 stop
-       $0 start
-       exit $?
+       rm -f /var/lock/subsys/bootsplash
        ;;
   *)
        # show "Usage: %s {start|stop|restart}"
        ;;
   *)
        # show "Usage: %s {start|stop|restart}"
-       msg_usage "$0 {start|stop|restart}"
+       msg_usage "$0 {start|stop|restart|reload|force-reload}"
        exit 3
 esac
 
        exit 3
 esac
 
This page took 0.193008 seconds and 4 git commands to generate.