SOURCES: bootsplash.init - leave subsys, no deamon there, just con...

havner havner at pld-linux.org
Fri Jul 7 18:34:22 CEST 2006


Author: havner                       Date: Fri Jul  7 16:34:22 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- leave subsys, no deamon there, just console setting utility
  doesn't need to be stopped to restart it

---- Files affected:
SOURCES:
   bootsplash.init (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/bootsplash.init
diff -u SOURCES/bootsplash.init:1.6 SOURCES/bootsplash.init:1.7
--- SOURCES/bootsplash.init:1.6	Sat May  6 00:25:06 2006
+++ SOURCES/bootsplash.init	Fri Jul  7 18:34:16 2006
@@ -20,7 +20,7 @@
 
 # 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 @@
 	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
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/bootsplash.init?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list