aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Cromer <chris@cromer.cl>2017-10-06 14:42:52 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-10-06 14:43:59 -0500
commitd4ddd72701ff5533a1ba07b1da60806859c63d88 (patch)
treee97371f1c40432060bac1f3e76572b86b17ad71a
parent1e9af2cd421423404ffe1491bd35af76c2885f1f (diff)
add option to make agetty startup quiet
This fixes #150
-rw-r--r--conf.d/agetty3
-rw-r--r--init.d/agetty.in1
2 files changed, 4 insertions, 0 deletions
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