commit:     d4ddd72701ff5533a1ba07b1da60806859c63d88
Author:     Chris Cromer <chris <AT> cromer <DOT> cl>
AuthorDate: Fri Oct  6 19:42:52 2017 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 19:43:59 2017 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=d4ddd727

add option to make agetty startup quiet

This fixes #150

 conf.d/agetty    | 3 +++
 init.d/agetty.in | 1 +
 2 files changed, 4 insertions(+)

diff --git a/conf.d/agetty b/conf.d/agetty
index 527ce4c2..03acee65 100644
--- a/conf.d/agetty
+++ b/conf.d/agetty
@@ -1,3 +1,6 @@
+# make agetty quiet
+#quiet="yes"
+
 # Set the baud rate of the terminal line
 #baud=""
 

diff --git a/init.d/agetty.in b/init.d/agetty.in
index f6cc12da..390b1317 100644
--- a/init.d/agetty.in
+++ b/init.d/agetty.in
@@ -16,6 +16,7 @@ term_type="${term_type:-linux}"
 command=/sbin/agetty
 command_args_foreground="${agetty_options} ${port} ${baud} ${term_type}"
 pidfile="/run/${RC_SVCNAME}.pid"
+export EINFO_QUIET="${quiet:-yes}"
 
 depend() {
        after local


Reply via email to