[oe-commits] =?UTF-8?Q?An=C3=ADbal=20Lim=C3=B3n=20?=: xserver-nodm-init: Change to vt1 when stop

git at git.openembedded.org git at git.openembedded.org
Sat Mar 21 21:49:13 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 6cf330bfbbb8ab7f9506bbed59ce6c2d90a0c1a2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6cf330bfbbb8ab7f9506bbed59ce6c2d90a0c1a2

Author: Aníbal Limón <anibal.limon at linux.intel.com>
Date:   Thu Mar 19 13:45:49 2015 +0000

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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm | 1 +
 1 file changed, 1 insertion(+)

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)



More information about the Openembedded-commits mailing list