On Wed, Sep 25, 2013 at 6:30 PM, Matt Turner <[email protected]> wrote:
> From: Matt Turner <[email protected]>
>
> Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=481236
> ---
>  livecd/files/livecd-bashrc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/livecd/files/livecd-bashrc b/livecd/files/livecd-bashrc
> index 983e657..9ea1fea 100644
> --- a/livecd/files/livecd-bashrc
> +++ b/livecd/files/livecd-bashrc
> @@ -4,7 +4,7 @@ if [ ! "$(grep nox /proc/cmdline)" ]
>  then
>         if [ -x /usr/bin/X ]
>         then
> -               if [ -e /etc/startx ]
> +               if [ -e /etc/startx -a $(tty) = "/dev/tty7" ];
>                 then
>                         rm -f /etc/startx
>                         ##STARTX
> --
> 1.8.3.2

This doesn't work because the livecd inittab doesn't (afaict) start a
getty on tty7, only tty1-6.  I would change this to tty1 to solve
that.

-Doug

Reply via email to