3 # bootsplash bootsplashed console
7 # description: Activate bootsplashed consoles
12 # Source function library
13 . /etc/rc.d/init.d/functions
18 # Get service config - may override defaults
19 [ -f /etc/sysconfig/bootsplash ] && . /etc/sysconfig/bootsplash
21 # See how we were called.
24 # Check if the service is already running?
25 if [ ! -f /var/lock/subsys/bootsplash ]; then
27 for console in $BOOT_SPLASH_CONSOLES; do
28 msg_starting "bootsplash terminal $console"
29 daemon /bin/splash.bin -s -u $console "/etc/bootsplash/themes/$THEME/config/bootsplash-$RES.cfg"
32 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/bootsplash
34 msg_already_running bootsplash
38 if [ -f /var/lock/subsys/bootsplash ]; then
40 msg_stopping bootsplash
42 rm -f /var/lock/subsys/bootsplash
44 msg_not_running bootsplash
53 # show "Usage: %s {start|stop|restart}"
54 msg_usage "$0 {start|stop|restart}"
60 # This must be last line !
61 # vi:syntax=sh:tw=78:ts=8:sw=4