Framebuffer
> например параметр text_color=номер_цвета_шрифта в конфиге темы - не получается
>
> > может просто, text_color=cyan ?
> неа( пишу в конфиге темы text_color=255 255 0 и писал text_color=yellow - никаких изменений
> >
> > > 2. Есть файл /etc/default/bootsplash и строка в нем BOOTSPLASH_TTYS="1 2 3 4 5"
> > > которая говорит Which consoles should be displayed with different bootsplash images
> > > а как сделать так чтобы картинка, которая на первой консоли была на всех остальных?))
> > > BOOTSPLASH_TTYS="" не помогает((
> >
> > у меня на всех и так, ничего не менял, все по дефолту.
> > у тебя Etch?
>
> Sarge
>
> давайте посмотрим вместе мои файлы чтоб разобраться к консолями :)
> cat /etc/init.d/bootsplash
> #!/bin/sh
> # based on initscript from gentoo linux
> # made some changes to fit normal sysvinit like used by debian
> # everything in here is GPL ;)
> # tcs@double-action.org
>
> # source our config
> source /etc/default/bootsplash 2>/dev/null
> # default settings
> test -z "${THEME}" && THEME="default"
> test -z "${BOOTSPLASH_TTYS}" && BOOTSPLASH_TTYS=`seq 0 5`
>
> get_bootsplash_theme () {
> # try to get bootsplash theme from kernel command line
> for param in `grep "theme=" /proc/cmdline`; do
> if [ "${param%=*}" == "theme" ]; then
> THEME="${param#*=}"
> fi
> done
> }
>
> SPLASH=$(which splash)
>
> case "$1" in
> start)
> # Only do this if the kernel has support
> if [ -f /proc/splash ]
> then
> echo "Setting Console frame buffer images"
>
> get_bootsplash_theme
> echo "Using theme $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/themes/${THEME}/config/vtsplash-${TTY}-${RESOLUTION}.cfg ]
> then
> $SPLASH -s -u $TTY -n /etc/bootsplash/themes/${THEME}/config/vtsplash-${TTY}-${RESOLUTION}.cfg
> else
> $SPLASH -s -u $TTY -n /etc/bootsplash/themes/${THEME}/config/bootsplash-${RESOLUTION}.cfg
> fi
> done
> 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
> echo "Setting Console frame buffer images"
> get_bootsplash_theme
> # source bootsplash config
> source /etc/bootsplash/themes/${THEME}/config/bootsplash-$(/sbin/fbresolution).cfg 2>/dev/null
> # Put bootsplash image up
> $SPLASH -s -u 0 /etc/bootsplash/themes/${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 ........
> fi
> ;;
> esac
>
> exit 0
>
>
>
> cat /etc/default/bootsplash
> # Defaults for bootsplash initscript
> # sourced by /etc/init.d/bootsplash
> # installed at /etc/default/bootsplash by the maintainer scripts
>
> #
> # This is a POSIX shell fragment
> #
>
> # Set this to yes to enable bootsplash after kernel loads
> SPLASH="yes"
>
> # The theme bootsplash should use. Right now this points to
> # /etc/bootsplash/theme/current which is a symlink to the
> # current theme.
> THEME="current"
>
> # Which consoles should be displayed with different bootsplash images
> #BOOTSPLASH_TTYS="1 2 3 4 5"
> BOOTSPLASH_TTYS=""
>
> # What messages must be displayed at boot and shutdown time
> MSG_BOOT="Booting the system. Please wait..."
> MSG_SHUTDOWN="Shutting down the system. Please wait..."
>
>
> wbr. Sergey
>
Reply to: