distribution/packages/sysutils/systemd/patches/systemd-0300-config-env-unhide-cursor.patch

28 lines
775 B
Diff
Raw Normal View History

2022-02-05 14:23:32 +00:00
From 49285dae6756b22bc6881c04939f7c43c35b5506 Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Sat, 29 Jun 2019 00:26:41 +0100
Subject: [PATCH] debug-shell: configure environment, unhide cursor
---
units/debug-shell.service.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/units/debug-shell.service.in b/units/debug-shell.service.in
index 1127e68..4c3e971 100644
--- a/units/debug-shell.service.in
+++ b/units/debug-shell.service.in
2022-02-28 21:31:20 +00:00
@@ -15,8 +15,8 @@ IgnoreOnIsolate=yes
ConditionPathExists={{DEBUGTTY}}
2022-02-05 14:23:32 +00:00
[Service]
-Environment=TERM=linux
2022-02-28 21:31:20 +00:00
-ExecStart={{SUSHELL}}
2022-02-05 14:23:32 +00:00
+Environment=ENV=/etc/profile
+ExecStart=/bin/sh -c 'echo -en "\033[?25h"; exec /bin/sh'
Restart=always
RestartSec=0
StandardInput=tty
--
2.14.1