71 |
then |
then |
72 |
local resolution="$(splash_resolution)" |
local resolution="$(splash_resolution)" |
73 |
|
|
|
splash_cursor disable |
|
74 |
chvt ${SPLASH_TTY} |
chvt ${SPLASH_TTY} |
75 |
sleep 0.5 |
sleep 0.5 |
76 |
|
|
117 |
if [[ ${SPLASH_MODE} = silent ]] |
if [[ ${SPLASH_MODE} = silent ]] |
118 |
then |
then |
119 |
splash_control "exit" |
splash_control "exit" |
|
splash_cursor enable |
|
120 |
if [[ -n ${SPLASH_X11_TTY} ]] |
if [[ -n ${SPLASH_X11_TTY} ]] |
121 |
then |
then |
122 |
chvt ${SPLASH_X11_TTY} |
chvt ${SPLASH_X11_TTY} |
148 |
echo "$@" > ${SPLASH_FIFO} |
echo "$@" > ${SPLASH_FIFO} |
149 |
fi |
fi |
150 |
} |
} |
|
|
|
|
# disable|enable |
|
|
splash_cursor() |
|
|
{ |
|
|
case $1 in |
|
|
enable) echo -e "\e[?0c";; |
|
|
disable) echo -e "\e[?1c" ;; |
|
|
esac |
|
|
} |
|