From fdc91fd18828cfc15be358f916aa2656c09df417 Mon Sep 17 00:00:00 2001 From: Peter Vicman Date: Fri, 5 May 2017 19:31:07 +0200 Subject: [PATCH] projects/imx6: init terminal with reset command in console service sometimes terminal is not initialized properly (no cursor visible) --- .../filesystem/usr/lib/systemd/system/serial-console.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/imx6/filesystem/usr/lib/systemd/system/serial-console.service b/projects/imx6/filesystem/usr/lib/systemd/system/serial-console.service index 5043743699..07b0cbade7 100644 --- a/projects/imx6/filesystem/usr/lib/systemd/system/serial-console.service +++ b/projects/imx6/filesystem/usr/lib/systemd/system/serial-console.service @@ -6,7 +6,7 @@ ConditionKernelCommandLine=console=ttymxc0,115200 [Service] WorkingDirectory=/storage Environment="ENV=/etc/profile" -ExecStartPre=/bin/sh -c 'echo -en "\033[?25h"' +ExecStartPre=/bin/reset ExecStart=/bin/sh Restart=always RestartSec=0