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.
23 start|restart|reload|force-reload)
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 -n "/etc/bootsplash/themes/$THEME/config/bootsplash-$RES.cfg"
32 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/bootsplash
34 msg_already_running bootsplash
38 rm -f /var/lock/subsys/bootsplash
41 # show "Usage: %s {start|stop|restart}"
42 msg_usage "$0 {start|stop|restart|reload|force-reload}"
48 # This must be last line !
49 # vi:syntax=sh:tw=78:ts=8:sw=4