summaryrefslogtreecommitdiff
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-21 09:42:40 +0000
commit6cf330bfbbb8ab7f9506bbed59ce6c2d90a0c1a2 (patch)
treed9e80cb7a36e8d3373f434850cdce1c6c28a51e5 /meta
parentf7c270d073d6f0d1e741e9850c599074ebe79db7 (diff)
downloadopenembedded-core-6cf330bfbbb8ab7f9506bbed59ce6c2d90a0c1a2.tar.gz
openembedded-core-6cf330bfbbb8ab7f9506bbed59ce6c2d90a0c1a2.tar.bz2
openembedded-core-6cf330bfbbb8ab7f9506bbed59ce6c2d90a0c1a2.zip
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 <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 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)