From 0c7457e724cb79f5d1c0f248d3949ae8197a621c Mon Sep 17 00:00:00 2001 From: Peter Vicman Date: Fri, 5 May 2017 21:00:18 +0200 Subject: [PATCH] projects/imx6: init terminal with reset command in console service [backport of #1600] --- .../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