1 |
From: "W. Trevor King" <wking@×××××××.us> |
2 |
|
3 |
Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=481236 |
4 |
Reviewed-by: Matt Turner <mattst88@×××××.com> |
5 |
--- |
6 |
livecd/files/livecd-bashrc | 2 +- |
7 |
1 file changed, 1 insertion(+), 1 deletion(-) |
8 |
|
9 |
diff --git a/livecd/files/livecd-bashrc b/livecd/files/livecd-bashrc |
10 |
index 983e657..18b8f1d 100644 |
11 |
--- a/livecd/files/livecd-bashrc |
12 |
+++ b/livecd/files/livecd-bashrc |
13 |
@@ -4,7 +4,7 @@ if [ ! "$(grep nox /proc/cmdline)" ] |
14 |
then |
15 |
if [ -x /usr/bin/X ] |
16 |
then |
17 |
- if [ -e /etc/startx ] |
18 |
+ if [ -e /etc/startx -a $(tty) = "/dev/tty1" ]; |
19 |
then |
20 |
rm -f /etc/startx |
21 |
##STARTX |
22 |
-- |
23 |
1.8.3.2 |