summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2015-03-19 13:45:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-22 08:49:59 +0000
commit94f5ce05e868b2d875880802ae8582b675537f64 (patch)
treed65830d50c5bfb078a0acd89a7e10762300f9add /meta
parent3e9476e6929926a4645b32356dbcc5af040af2fd (diff)
downloadast2050-yocto-poky-94f5ce05e868b2d875880802ae8582b675537f64.zip
ast2050-yocto-poky-94f5ce05e868b2d875880802ae8582b675537f64.tar.gz
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] (From OE-Core rev: 6cf330bfbbb8ab7f9506bbed59ce6c2d90a0c1a2) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rwxr-xr-xmeta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm1
1 files changed, 1 insertions, 0 deletions
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 ef6c11c..2e3e090 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)
OpenPOWER on IntegriCloud