From 6cf330bfbbb8ab7f9506bbed59ce6c2d90a0c1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= Date: Thu, 19 Mar 2015 13:45:49 +0000 Subject: xserver-nodm-init: Change to vt1 when stop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When X is stopped it remains in the same vt that was launched, change to vt1 instead to avoid manual vt switch. [YOCTO #5336] Signed-off-by: Aníbal Limón Signed-off-by: Richard Purdie --- meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm | 1 + 1 file changed, 1 insertion(+) (limited to 'meta') diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm index ef6c11c3f2..2e3e090777 100755 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm @@ -48,6 +48,7 @@ case "$1" in stop) echo "Stopping XServer" killproc xinit + chvt 1 ;; restart) -- cgit v1.2.3