summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:32:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:32:20 +0000
commitcc173ff929059414f05ab1f4c9c8a59413b0d4db (patch)
tree994911152643ed31e1baf46a3dca0af114fcb59c
parentRemoving setuid bit from /bin/su. (diff)
downloadutil-linux-cc173ff929059414f05ab1f4c9c8a59413b0d4db.tar.xz
util-linux-cc173ff929059414f05ab1f4c9c8a59413b0d4db.zip
Updating agetty login prompt.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0001-agetty-prompt.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-agetty-prompt.patch b/debian/patches/progress-linux/0001-agetty-prompt.patch
new file mode 100644
index 0000000..4bb1a89
--- /dev/null
+++ b/debian/patches/progress-linux/0001-agetty-prompt.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting agetty login prompt to 'Login: '.
+
+diff -Naurp util-linux.orig/term-utils/agetty.c util-linux/term-utils/agetty.c
+--- util-linux.orig/term-utils/agetty.c
++++ util-linux/term-utils/agetty.c
+@@ -139,7 +139,7 @@
+ #endif
+
+ /* Login prompt. */
+-#define LOGIN "login: "
++#define LOGIN "Login: "
+ #define LOGIN_ARGV_MAX 16 /* Numbers of args for login */
+
+ /*
diff --git a/debian/patches/series b/debian/patches/series
index 2ef0c34..5257c5f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -35,3 +35,4 @@ upstream/PATCH-1-2-lib-pty-Put-master-PTY-into-non-blocking-mode-a.patch
upstream/PATCH-2-2-lib-pty-minor-cleanups.patch
upstream/PATCH-script-abort-if-unused-arguments-are-given.patch
upstream/logger-always-update-header-when-read-from-stdin.patch
+progress-linux/0001-agetty-prompt.patch