SOURCES (AC-branch): bootsplash.init - leave subsys, no deamon the...
havner
havner at pld-linux.org
Fri Jul 7 18:33:43 CEST 2006
Author: havner Date: Fri Jul 7 16:33:43 2006 GMT
Module: SOURCES Tag: AC-branch
---- 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.2 -> 1.2.4.1)
---- Diffs:
================================================================
Index: SOURCES/bootsplash.init
diff -u SOURCES/bootsplash.init:1.2 SOURCES/bootsplash.init:1.2.4.1
--- SOURCES/bootsplash.init:1.2 Fri Jan 23 12:34:59 2004
+++ SOURCES/bootsplash.init Fri Jul 7 18:33:38 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.2&r2=1.2.4.1&f=u
More information about the pld-cvs-commit
mailing list