-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3620 from MilhouseVH/le10_fix_debug_shell_prompt_…
…cursor systemd: fix issues after #3326
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
packages/sysutils/systemd/patches/systemd-0300-config-env-unhide-cursor.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 49285dae6756b22bc6881c04939f7c43c35b5506 Mon Sep 17 00:00:00 2001 | ||
From: MilhouseVH <[email protected]> | ||
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 | ||
@@ -16,8 +16,8 @@ IgnoreOnIsolate=yes | ||
ConditionPathExists=@DEBUGTTY@ | ||
|
||
[Service] | ||
-Environment=TERM=linux | ||
-ExecStart=@SUSHELL@ | ||
+Environment=ENV=/etc/profile | ||
+ExecStart=/bin/sh -c 'echo -en "\033[?25h"; exec /bin/sh' | ||
Restart=always | ||
RestartSec=0 | ||
StandardInput=tty | ||
-- | ||
2.14.1 | ||
|