aboutsummaryrefslogtreecommitdiff
path: root/libexec/getty/main.c
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1996-12-31 01:30:38 +0000
committerMike Smith <msmith@FreeBSD.org>1996-12-31 01:30:38 +0000
commitb2a1dd44dc4f36d50d47dd74d99035289e55ef18 (patch)
treec74e80b83b7b03f1b165069b9203ae006dd8872b /libexec/getty/main.c
parent8c0e9645abdf0121a51cf324016feb5c6acfb1e6 (diff)
Notes
Diffstat (limited to 'libexec/getty/main.c')
-rw-r--r--libexec/getty/main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index 5f6c2de609b0..b16843429e4f 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -39,7 +39,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";*/
-static char rcsid[] = "$Id: main.c,v 1.10 1996/05/07 16:42:26 ache Exp $";
+static char rcsid[] = "$Id: main.c,v 1.11 1996/11/13 01:06:40 pst Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -292,6 +292,12 @@ main(argc, argv)
if (CL && *CL)
putpad(CL);
edithost(HE);
+
+ /* if a delay was specified then sleep for that
+ number of seconds before writing the initial prompt */
+ if(DE)
+ sleep(DE);
+
if (IM && *IM)
putf(IM);
if (setjmp(timeout)) {