SOURCES (AC-branch): bootsplash.init - leave subsys completely
havner
havner at pld-linux.org
Fri Jul 7 19:33:24 CEST 2006
Author: havner Date: Fri Jul 7 17:33:24 2006 GMT
Module: SOURCES Tag: AC-branch
---- Log message:
- leave subsys completely
---- Files affected:
SOURCES:
bootsplash.init (1.2.4.1 -> 1.2.4.2)
---- Diffs:
================================================================
Index: SOURCES/bootsplash.init
diff -u SOURCES/bootsplash.init:1.2.4.1 SOURCES/bootsplash.init:1.2.4.2
--- SOURCES/bootsplash.init:1.2.4.1 Fri Jul 7 18:33:38 2006
+++ SOURCES/bootsplash.init Fri Jul 7 19:33:18 2006
@@ -21,21 +21,12 @@
# 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
;;
*)
# show "Usage: %s {start|stop|restart}"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/bootsplash.init?r1=1.2.4.1&r2=1.2.4.2&f=u
More information about the pld-cvs-commit
mailing list