[OE-core] [PATCHv4 2/2] xserver-nodm-init: Change to vt1 when stop

Aníbal Limón anibal.limon at linux.intel.com
Thu Mar 19 13:45:49 UTC 2015


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>
---
 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)
-- 
1.8.4.5




More information about the Openembedded-core mailing list