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>
This commit is contained in:
Aníbal Limón 2015-03-19 13:45:49 +00:00 committed by Richard Purdie
parent 3e9476e692
commit 94f5ce05e8
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ case "$1" in
stop)
echo "Stopping XServer"
killproc xinit
chvt 1
;;
restart)