diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2015-03-19 13:45:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-22 08:49:59 +0000 |
commit | 94f5ce05e868b2d875880802ae8582b675537f64 (patch) | |
tree | d65830d50c5bfb078a0acd89a7e10762300f9add /meta | |
parent | 3e9476e6929926a4645b32356dbcc5af040af2fd (diff) | |
download | 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-x | meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm | 1 |
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 | |||
48 | stop) | 48 | stop) |
49 | echo "Stopping XServer" | 49 | echo "Stopping XServer" |
50 | killproc xinit | 50 | killproc xinit |
51 | chvt 1 | ||
51 | ;; | 52 | ;; |
52 | 53 | ||
53 | restart) | 54 | restart) |