5 # Set FbConDecor backgrounds
10 .
/etc
/conf.d
/fbcondecor
11 .
/sbin
/splash-functions.sh
16 [ -z "${SPLASH_TTYS%% }" ] && retval
=1
19 if [ "${SPLASH_MODE_REQ}" != "off" ]; then
20 stat_busy
"Setting FBconDecor console images"
21 for tty
in ${SPLASH_TTYS}; do
22 # avoid blinking on boot
23 [[ "$( fbcondecor_ctl --tty=${tty} -c getstate )" == *\ on
]] && continue
24 fbcondecor_set_theme
${SPLASH_THEME} ${tty} || retval
=1
26 if [ $retval = 0 ]; then
33 stat_busy
"Disabling FBconDecor console images"
34 for tty
in ${SPLASH_TTYS}; do
35 # avoid errors on restart
36 [[ "$( fbcondecor_ctl --tty=${tty} -c getstate )" == *\ off
]] && continue
37 fbcondecor_ctl
--tty=${tty} -c off || retval
=1
39 if [ $retval = 0 ]; then
47 echo # don't swallow our status line
50 echo "usage: $0 {start|stop|restart}"