Gentoo Archives: gentoo-catalyst

From: Matt Turner <mattst88@g.o>
To: gentoo-catalyst@l.g.o
Cc: thomas.stellard@×××.com, Matt Turner <mattst88@×××××.com>
Subject: [gentoo-catalyst] [PATCH] Start the X server only once.
Date: Wed, 25 Sep 2013 22:30:17
Message-Id: 1380148217-6077-1-git-send-email-mattst88@gentoo.org
1 From: Matt Turner <mattst88@×××××.com>
2
3 Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=481236
4 ---
5 livecd/files/livecd-bashrc | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
7
8 diff --git a/livecd/files/livecd-bashrc b/livecd/files/livecd-bashrc
9 index 983e657..9ea1fea 100644
10 --- a/livecd/files/livecd-bashrc
11 +++ b/livecd/files/livecd-bashrc
12 @@ -4,7 +4,7 @@ if [ ! "$(grep nox /proc/cmdline)" ]
13 then
14 if [ -x /usr/bin/X ]
15 then
16 - if [ -e /etc/startx ]
17 + if [ -e /etc/startx -a $(tty) = "/dev/tty7" ];
18 then
19 rm -f /etc/startx
20 ##STARTX
21 --
22 1.8.3.2

Replies

Subject Author
Re: [gentoo-catalyst] [PATCH] Start the X server only once. Douglas Freed <dwfreed@×××.edu>