# HG changeset patch # User Christophe Lincoln # Date 1304094271 -7200 # Node ID 63eaa6ed9233f5b4a101fbf34c895101638de51b # Parent c76406c5b7c5eff869e1630e7178d97154561cd0 rcS: small fix to have tazbox on the correct display diff -r c76406c5b7c5 -r 63eaa6ed9233 etc/init.d/rcS --- a/etc/init.d/rcS Fri Apr 29 17:43:22 2011 +0200 +++ b/etc/init.d/rcS Fri Apr 29 18:24:31 2011 +0200 @@ -144,8 +144,8 @@ # Requested screen is not text mode and keymap.conf is empty so go # for an i18n configuration in GUI mode. In cas of screen=text we # configure locale and keymap just after via i18n.sh -if [ "$SCREEN" != "text" -a ! -s "/etc/locale.conf" -a -x /usr/bin/Xorg ]; then - tazbox boot +if [ "$SCREEN" != "text" -a ! -s "/etc/keymap.conf" -a -x /usr/bin/Xorg ]; then + DISPLAY=:1 tazbox boot fi [ "$FBSPLASH" == "yes" ] && echo "80" > /etc/fbsplash/fifo