From: Aníbal Limón Date: Thu, 19 Mar 2015 13:45:49 +0000 (+0000) Subject: xserver-nodm-init: Change to vt1 when stop X-Git-Tag: 2015-4~85 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6cf330bfbbb8ab7f9506bbed59ce6c2d90a0c1a2;p=openembedded-core.git xserver-nodm-init: Change to vt1 when stop 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 --- 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)