summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:43:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:43:17 +0000
commit50d0d44723b5f3f55555c79eaf7e4c11ae843c5d (patch)
treead3035198c80f0ba3487b2fefd7d46bd779a2a13
parentRemoving setuid bit from /bin/su. (diff)
downloadutil-linux-50d0d44723b5f3f55555c79eaf7e4c11ae843c5d.tar.xz
util-linux-50d0d44723b5f3f55555c79eaf7e4c11ae843c5d.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
new file mode 100644
index 0000000..d0b8ea8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+progress-linux/0001-agetty-prompt.patch