summaryrefslogtreecommitdiffstats
path: root/libexec/getty/main.c
diff options
context:
space:
mode:
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 5f6c2de..b168434 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)) {
OpenPOWER on IntegriCloud