SOURCES: bootsplash.init - leave subsys completely
havner
havner at pld-linux.org
Fri Jul 7 19:35:05 CEST 2006
Author: havner Date: Fri Jul 7 17:35:05 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- leave subsys completely
---- Files affected:
SOURCES:
bootsplash.init (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SOURCES/bootsplash.init
diff -u SOURCES/bootsplash.init:1.7 SOURCES/bootsplash.init:1.8
--- SOURCES/bootsplash.init:1.7 Fri Jul 7 18:34:16 2006
+++ SOURCES/bootsplash.init Fri Jul 7 19:35:00 2006
@@ -21,21 +21,13 @@
# 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}"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/bootsplash.init?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list