aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/systemd/files/0001-set-tty2-as-default-instance.patch
blob: 5a2e02a182e2baaf32d47667f50114520c375095 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 7af15e776418717b64da0eb66f9c920ddf5752ed Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 5 Jul 2019 03:19:44 -0400
Subject: [PATCH] set tty2 as default instance

TTY1 is reserved for anaconda

Upstream-Status: Inappropriate [meta-anaconda specific]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 units/getty@.service.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index 80e793b..9707a20 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -57,4 +57,4 @@ UnsetEnvironment=LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETAR
 
 [Install]
 WantedBy=getty.target
-DefaultInstance=tty1
+DefaultInstance=tty2
-- 
2.8.1