From 19988949b8a9f320af5a3b950fef57c6e0b95c71 Mon Sep 17 00:00:00 2001 From: havner Date: Fri, 7 Jul 2006 16:34:16 +0000 Subject: [PATCH] - leave subsys, no deamon there, just console setting utility doesn't need to be stopped to restart it Changed files: bootsplash.init -> 1.7 --- bootsplash.init | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/bootsplash.init b/bootsplash.init index b80887d..3c4b54f 100644 --- a/bootsplash.init +++ b/bootsplash.init @@ -20,7 +20,7 @@ RES=`fbresolution` # 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 @@ -35,23 +35,11 @@ case "$1" in 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}" - msg_usage "$0 {start|stop|restart}" + msg_usage "$0 {start|stop|restart|reload|force-reload}" exit 3 esac -- 2.43.0