всё нормально пашет на первой виртуальной консоли, а на остальных нет бутсплеша и русского, в чём проблема? как исправить?
rh9
Bootsplash+fb (Не работает русский и бутсплеш на...)
Модератор: Модераторы разделов
-
- Сообщения: 1
Re: Bootsplash+fb
Ромыч в сисе тоже только на первой был спрлэш коды я ее юзал.. 

-
- Бывший модератор
- Сообщения: 2199
- Статус: главный форумный маргинал
- ОС: gnu/linux
-
- Сообщения: 1
Re: Bootsplash+fb
(gizmo[astlug] @ Пятница, 19 Ноября 2004, 14:45) писал(а):Ромыч в сисе тоже только на первой был спрлэш коды я ее юзал..
Вы просто не умеете их готовить. ©
в Gentoo на всех.
cat /etc/init.d/bootsplash
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-src/bootsplash/core/misc/bootsplash,v 1.2 2004/05/29 21:40:30 spock Exp $
# source our config
source /etc/conf.d/bootsplash
# default settings
test -z "${BOOTSPLASH_THEME}" && BOOTSPLASH_THEME="default"
test -z "${BOOTSPLASH_TTYS}" && BOOTSPLASH_TTYS=`seq 0 5`
depend() {
# run after local so that the boot time splash image
# is visible for as long as possible
need local
}
box () {
# dummy function to handle sourcing of bootsplash config file
return;
}
get_bootsplash_theme () {
# try to get bootsplash theme from kernel command line
for param in `grep "theme=" /proc/cmdline`; do
if [ "${param%=*}" == "theme" ]; then
BOOTSPLASH_THEME="${param#*=}"
fi
done
}
start() {
# Only do this if the kernel has support
if [ -f /proc/splash ]
then
ebegin "Setting Console frame buffer images"
get_bootsplash_theme
# get console resolution
RESOLUTION=$(/sbin/fbresolution)
# switch to a usable image on all consoles
for TTY in `echo "${BOOTSPLASH_TTYS}" | sed -e 's# #\n#g'`
do
# support for a different config per virtual terminal
if [ -e /etc/bootsplash/${BOOTSPLASH_THEME}/config/vtsplash-${TTY}-${RESOLUTION}.cfg ]
then
/sbin/splash -s -u $TTY -n /etc/bootsplash/${BOOTSPLASH_THEME}/config/vtsplash-${TTY}-${RESOLUTION}.cfg
else
/sbin/splash -s -u $TTY -n /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-${RESOLUTION}.cfg
fi
done
eend $? "Failed to set frame buffer console images"
fi
}
stop() {
CHVT=$(which chvt)
# Stop doesn't really stop, it actually changes the image
# on vt1 back to the bootsplash image.
# Only do this if the kernel has support
if [ -f /proc/splash ]
then
ebegin "Setting Console frame buffer images"
get_bootsplash_theme
# source bootsplash config
source /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-$(/sbin/fbresolution).cfg
# Put bootsplash image up
/sbin/splash -s -u 0 /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-$(/sbin/fbresolution).cfg
# ensure "silent" image is displayed
echo "silent" > /proc/splash
# switch to vt1 (must be &'d otherwise script hangs)
${CHVT} 1 &
# print a nice message
# /sbin/fbtruetype ........
eend $? "Failed to set frame buffer console images"
fi
}
если добавить в запускаемые при старте скрипты,
и убрать ebegin eend я думаю поможет.