slitaz-boot-scripts rev 257
rcS: small fix to have tazbox on the correct display
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 29 18:24:31 2011 +0200 (2011-04-29) |
parents | c76406c5b7c5 |
children | f1c0f8f8c116 |
files | etc/init.d/rcS |
line diff
1.1 --- a/etc/init.d/rcS Fri Apr 29 17:43:22 2011 +0200 1.2 +++ b/etc/init.d/rcS Fri Apr 29 18:24:31 2011 +0200 1.3 @@ -144,8 +144,8 @@ 1.4 # Requested screen is not text mode and keymap.conf is empty so go 1.5 # for an i18n configuration in GUI mode. In cas of screen=text we 1.6 # configure locale and keymap just after via i18n.sh 1.7 -if [ "$SCREEN" != "text" -a ! -s "/etc/locale.conf" -a -x /usr/bin/Xorg ]; then 1.8 - tazbox boot 1.9 +if [ "$SCREEN" != "text" -a ! -s "/etc/keymap.conf" -a -x /usr/bin/Xorg ]; then 1.10 + DISPLAY=:1 tazbox boot 1.11 fi 1.12 1.13 [ "$FBSPLASH" == "yes" ] && echo "80" > /etc/fbsplash/fifo