From 40aa69cf3a99fa080375a702631da4d2311ebf3e Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 14 Mar 2018 20:37:02 -0500 Subject: agetty.in: allow status to be displayed --- init.d/agetty.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.d/agetty.in b/init.d/agetty.in index 390b1317..971ee86c 100644 --- a/init.d/agetty.in +++ b/init.d/agetty.in @@ -16,7 +16,6 @@ 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 @@ -29,5 +28,12 @@ start_pre() { eerror "symbolic links to it for the ports you want to start" eerror "agetty on and add those to the appropriate runlevels." return 1 + else + export EINFO_QUIET="${quiet:-yes}" fi } + +stop_pre() +{ + export EINFO_QUIET="${quiet:-yes}" +} -- cgit v1.2.3